changeset 2617:0b4bff2b0ce3

fix bug introduced in b13a98bd078e
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 15 Jul 2006 17:00:23 +0200
parents 1b4eb1f92433
children 8367b67ad397 46e52bbb9b1a
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3308,7 +3308,7 @@ def dispatch(args):
         except (util.SignalInterrupt, KeyboardInterrupt):
             raise
         except Exception, inst:
-            u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst))
+            u.warn(_("*** failed to import extension %s: %s\n") % (ext_name, inst))
             if u.print_exc():
                 return 1