summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sunau.py')
-rw-r--r--Lib/sunau.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py
index 940cfd4..5ece295 100644
--- a/Lib/sunau.py
+++ b/Lib/sunau.py
@@ -128,7 +128,8 @@ _simple_encodings = [AUDIO_FILE_ENCODING_MULAW_8,
AUDIO_FILE_ENCODING_LINEAR_32,
AUDIO_FILE_ENCODING_ALAW_8]
-Error = 'sunau.Error'
+class Error(Exception):
+ pass
def _read_u32(file):
x = 0L