diff options
Diffstat (limited to 'Lib/htmllib.py')
-rw-r--r-- | Lib/htmllib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/htmllib.py b/Lib/htmllib.py index 24a2e2f3c7..652519f173 100644 --- a/Lib/htmllib.py +++ b/Lib/htmllib.py @@ -463,7 +463,7 @@ def test(args = None): else: try: f = open(file, 'r') - except IOError, msg: + except IOError as msg: print file, ":", msg sys.exit(1) |