mercurial/config.py
changeset 25660 328739ea70c3
parent 25095 3182965b3971
child 25923 a027a0813b44
--- a/mercurial/config.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/mercurial/config.py	Tue Jun 23 22:20:08 2015 -0700
@@ -122,7 +122,7 @@
                     try:
                         include(inc, remap=remap, sections=sections)
                         break
-                    except IOError, inst:
+                    except IOError as inst:
                         if inst.errno != errno.ENOENT:
                             raise error.ParseError(_("cannot include %s (%s)")
                                                    % (inc, inst.strerror),