diff options
| author | Fred Drake <fdrake@acm.org> | 2000-08-17 04:45:13 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2000-08-17 04:45:13 +0000 |
| commit | 9b8d801c37fa29420848ebc1b50c601893b36287 (patch) | |
| tree | 3e21590bf1bc994dc998ae3c7cadffd1e567ad61 /Lib/sunau.py | |
| parent | de9fec5f99179bfd023177b89238f8aaae98f1f9 (diff) | |
| download | cpython-git-9b8d801c37fa29420848ebc1b50c601893b36287.tar.gz | |
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/sunau.py')
| -rw-r--r-- | Lib/sunau.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py index 940cfd47fe..5ece29534e 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 |
