changeset 25660 | 328739ea70c3 |
parent 25658 | e93036747902 |
child 25748 | baea47cafe75 |
--- a/hgext/convert/darcs.py Tue Jun 23 22:38:21 2015 -0700 +++ b/hgext/convert/darcs.py Tue Jun 23 22:20:08 2015 -0700 @@ -197,7 +197,7 @@ try: data = util.readfile(path) mode = os.lstat(path).st_mode - except IOError, inst: + except IOError as inst: if inst.errno == errno.ENOENT: return None, None raise