Convert some old-style string exceptions to class exceptions.

This commit is contained in:
Fred Drake 2000-08-17 04:45:13 +00:00
parent de9fec5f99
commit 9b8d801c37
6 changed files with 14 additions and 6 deletions

View file

@ -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