hgext/convert/cvs.py
changeset 25660 328739ea70c3
parent 24395 216fa1ba9993
child 25748 baea47cafe75
--- a/hgext/convert/cvs.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/convert/cvs.py	Tue Jun 23 22:20:08 2015 -0700
@@ -136,7 +136,7 @@
                                 passw = part2
                                 break
                         pf.close()
-                    except IOError, inst:
+                    except IOError as inst:
                         if inst.errno != errno.ENOENT:
                             if not getattr(inst, 'filename', None):
                                 inst.filename = cvspass