commit | 9aa6144b2ac2dc27bc6f79218f4ebb6c8c722a7d | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Wed Nov 19 23:10:02 2014 -0600 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Wed Nov 19 23:10:02 2014 -0600 |
tree | 8362235cbbce3a45713a059327fcd0895abcd165 | |
parent | 5fda247dab4c73f285fc6432cf9d87ff89f9d46c [diff] [blame] |
python except as
diff --git a/devtools/fixeol.py b/devtools/fixeol.py index 4fed6ce..8b97e90 100644 --- a/devtools/fixeol.py +++ b/devtools/fixeol.py
@@ -6,7 +6,7 @@ raise ValueError( 'Path "%s" is not a file' % path ) try: f = open(path, 'rb') - except IOError, msg: + except IOError as msg: print >> sys.stderr, "%s: I/O Error: %s" % (file, str(msg)) return False try: