commit | 9b8d801c37fa29420848ebc1b50c601893b36287 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Aug 17 04:45:13 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Aug 17 04:45:13 2000 +0000 |
tree | 3e21590bf1bc994dc998ae3c7cadffd1e567ad61 | |
parent | de9fec5f99179bfd023177b89238f8aaae98f1f9 [diff] [blame] |
Convert some old-style string exceptions to class exceptions.
diff --git a/Lib/toaiff.py b/Lib/toaiff.py index 84a7786..52c5a89 100644 --- a/Lib/toaiff.py +++ b/Lib/toaiff.py
@@ -53,7 +53,8 @@ uncompress.append('uncompress', '--') -error = 'toaiff.error' # Exception +class error(Exception): + pass def toaiff(filename): temps = []