util: qualify name properly.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Sat, 12 Aug 2006 15:41:26 -0700
changeset 2868 9a2a481ec3ea
parent 2867 b5f56d6c62c4
child 2871 ffa2be02c4e5
util: qualify name properly.
mercurial/patch.py
--- 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)