summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old/whatsound.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-06-23 09:30:50 (GMT)
committerGuido van Rossum <guido@python.org>1993-06-23 09:30:50 (GMT)
commit5cfa5dfe977854a090e70cb4f4353e2e6b46789e (patch)
tree2283617688b901adf8dbf07933f2dfe1f1c6c481 /Lib/lib-old/whatsound.py
parent9b3bc715980b51ffbf535bcf159ba4be03938c19 (diff)
downloadcpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.zip
cpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.tar.gz
cpython-5cfa5dfe977854a090e70cb4f4353e2e6b46789e.tar.bz2
* calendar.py: all libC functionality now moved to built-in time module
* imghdr.py: added jpeg recognition * torgb.py: added jpeg conversion * tzparse.py: use functions from time instead of calendar * whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
Diffstat (limited to 'Lib/lib-old/whatsound.py')
-rw-r--r--Lib/lib-old/whatsound.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/lib-old/whatsound.py b/Lib/lib-old/whatsound.py
index a59323b..b7b349c 100644
--- a/Lib/lib-old/whatsound.py
+++ b/Lib/lib-old/whatsound.py
@@ -56,6 +56,7 @@ def whatraw(filename):
from stat import ST_SIZE
# XXX "whatsound" should be part of the distribution somehow...
cmd = 'whatsound ' + filename + ' 2>/dev/null'
+ cmd = 'PATH=$PATH:/ufs/guido/bin/sgi\n' + cmd
pipe = os.popen(cmd, 'r')
data = pipe.read()
sts = pipe.close()