Convert some old-style string exceptions to class exceptions.

This commit is contained in:
Fred Drake 2000-08-18 14:59:33 +00:00
parent b65b006595
commit def003845b
8 changed files with 20 additions and 10 deletions

View file

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