diff options
Diffstat (limited to 'Mac/Demo/textedit/ped.py')
-rw-r--r-- | Mac/Demo/textedit/ped.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/textedit/ped.py b/Mac/Demo/textedit/ped.py index 3e91b32a65..8cd4713469 100644 --- a/Mac/Demo/textedit/ped.py +++ b/Mac/Demo/textedit/ped.py @@ -273,7 +273,7 @@ class Ped(Application): fp = open(path, 'rb') # NOTE binary, we need cr as end-of-line data = fp.read() fp.close() - except IOError, arg: + except IOError as arg: EasyDialogs.Message("IOERROR: %r" % (arg,)) return else: |