commit | def003845b687b785f70d655a5372906f7e042d2 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Aug 18 14:59:33 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Aug 18 14:59:33 2000 +0000 |
tree | 71a16f3fac942109fc2eb167feb253ec66bcf908 | |
parent | b65b0065954ce1a410d8309529a5239b7da2bcfd [diff] [blame] |
Convert some old-style string exceptions to class exceptions.
diff --git a/Lib/plat-irix5/jpeg.py b/Lib/plat-irix5/jpeg.py index 2e7ced5..298ebb5 100755 --- a/Lib/plat-irix5/jpeg.py +++ b/Lib/plat-irix5/jpeg.py
@@ -5,7 +5,8 @@ # XXX It appears that compressing grayscale images doesn't work right; # XXX the resulting file causes weirdness. -error = 'jpeg.error' # Exception +class error(Exception): + pass options = {'quality': 75, 'optimize': 0, 'smooth': 0, 'forcegray': 0}