summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sunau.py')
-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: