diff mercurial/ui.py @ 3469:fd8f1110562c

fix errors spotted by pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 19 Oct 2006 16:55:34 +0200
parents 8b55c0ba8048
children c3345b0f2fcd
line wrap: on
line diff
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -111,7 +111,8 @@ class ui(object):
         try:
             cdata.read(filename)
         except ConfigParser.ParsingError, inst:
-            raise util.Abort(_("failed to parse %s\n%s") % (f, inst))
+            raise util.Abort(_("failed to parse %s\n%s") % (filename,
+                                                            inst))
 
         for section in sections:
             if not cdata.has_section(section):