diff options
Diffstat (limited to 'Lib/plat-irix5')
| -rwxr-xr-x | Lib/plat-irix5/torgb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-irix5/torgb.py b/Lib/plat-irix5/torgb.py index 54c86c477d..02bcb53559 100755 --- a/Lib/plat-irix5/torgb.py +++ b/Lib/plat-irix5/torgb.py @@ -80,7 +80,7 @@ def _torgb(filename, temps): fname = filename try: ftype = imghdr.what(fname) - except IOError, msg: + except IOError as msg: if type(msg) == type(()) and len(msg) == 2 and \ type(msg[0]) == type(0) and type(msg[1]) == type(''): msg = msg[1] |
