hgext/eol.py
changeset 45799 0fc8b066928a
parent 44470 9d2b2df2c2ba
child 45909 9dc1351d0b5f
--- a/hgext/eol.py	Tue Oct 20 08:58:20 2020 -0700
+++ b/hgext/eol.py	Thu Oct 22 09:58:05 2020 -0700
@@ -280,7 +280,7 @@
                 b"warning: ignoring .hgeol file due to parse error "
                 b"at %s: %s\n"
             )
-            % (inst.args[1], inst.args[0])
+            % (inst.location, inst.message)
         )
     return None