--- a/mercurial/ui.py Mon Jun 18 21:30:27 2007 -0500
+++ b/mercurial/ui.py Tue Jun 19 08:06:37 2007 +0200
@@ -166,15 +166,14 @@
try:
fp = open(filename)
except IOError, inst:
- raise util.Abort(_("unable to open %s: %s") % (filename,
- getattr(inst, "strerror", inst)))
+ raise util.Abort(_("unable to open %s: %s") %
+ (filename, getattr(inst, "strerror", inst)))
try:
cdata.readfp(fp, filename)
finally:
fp.close()
except ConfigParser.ParsingError, inst:
- raise util.Abort(_("failed to parse %s\n%s") % (filename,
- inst))
+ raise util.Abort(_("failed to parse %s\n%s") % (filename, inst))
for section in sections:
if not cdata.has_section(section):