changeset 2868:9a2a481ec3ea

util: qualify name properly.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sat, 12 Aug 2006 15:41:26 -0700
parents b5f56d6c62c4
children ffa2be02c4e5
files mercurial/patch.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Sat Aug 12 14:15:23 2006 -0700
+++ b/mercurial/patch.py	Sat Aug 12 15:41:26 2006 -0700
@@ -242,7 +242,8 @@
                 files.setdefault(pf, (None, None))
         code = fp.close()
         if code:
-            raise util.Abort(_("patch command failed: %s") % explain_exit(code)[0])
+            raise util.Abort(_("patch command failed: %s") %
+                             util.explain_exit(code)[0])
 
     for gp in gitpatches:
         files[gp.path] = (gp.op, gp)