diff -r 5bb900885311 -r 0fc8b066928a hgext/eol.py --- 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