summaryrefslogtreecommitdiff
path: root/Lib/sunaudio.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 +0000
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 +0000
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/sunaudio.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-git-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
New == syntax
Diffstat (limited to 'Lib/sunaudio.py')
-rw-r--r--Lib/sunaudio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sunaudio.py b/Lib/sunaudio.py
index 92a6203e8a..b6e5047198 100644
--- a/Lib/sunaudio.py
+++ b/Lib/sunaudio.py
@@ -44,7 +44,7 @@ def gethdr(fp):
def printhdr(file):
hdr = gethdr(open(file, 'r'))
data_size, encoding, sample_rate, channels, info = hdr
- while info[-1:] = '\0':
+ while info[-1:] == '\0':
info = info[:-1]
print 'File name: ', file
print 'Data size: ', data_size