--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -166,15 +166,14 @@ class ui(object):
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):