mercurial/ui.py
changeset 3474 fd8f1110562c
parent 3466 8b55c0ba8048
child 3489 c3345b0f2fcd
--- a/mercurial/ui.py	Thu Oct 19 14:16:51 2006 +0200
+++ b/mercurial/ui.py	Thu Oct 19 16:55:34 2006 +0200
@@ -111,7 +111,8 @@
         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):