summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1995-08-14 07:49:51 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1995-08-14 07:49:51 (GMT)
commitf33a69f2739a2ad7968c0cada7577cbe130602b4 (patch)
tree40bdbd968ca732f5248d329b405ed237fc3089f1 /Lib
parente2cb7274ea8288f5d071d96d1df43f1421244bac (diff)
downloadcpython-f33a69f2739a2ad7968c0cada7577cbe130602b4.zip
cpython-f33a69f2739a2ad7968c0cada7577cbe130602b4.tar.gz
cpython-f33a69f2739a2ad7968c0cada7577cbe130602b4.tar.bz2
Temporary fix for access statement.
Definition of Error was missing.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/sunau.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py
index 677b298..66fec94 100644
--- a/Lib/sunau.py
+++ b/Lib/sunau.py
@@ -128,6 +128,8 @@ _simple_encodings = [AUDIO_FILE_ENCODING_MULAW_8,
AUDIO_FILE_ENCODING_LINEAR_32,
AUDIO_FILE_ENCODING_ALAW_8]
+Error = 'sunau.Error'
+
def _read_u32(file):
x = 0L
for i in range(4):
@@ -408,7 +410,7 @@ class Au_write:
#
# private methods
#
- access *: private
+ if 0: access *: private
def _ensure_header_written(self):
if not self._nframeswritten: