##// END OF EJS Templates
dispatch: don't mangle ImportError abort messages...
Dan Villiom Podlaski Christiansen -
r11053:59d0d715 stable
parent child Browse files
Show More
@@ -105,8 +105,8 b' def _runcatch(ui, args):'
105 105 except util.Abort, inst:
106 106 ui.warn(_("abort: %s\n") % inst)
107 107 except ImportError, inst:
108 ui.warn(_("abort: %s!\n") % inst)
108 109 m = str(inst).split()[-1]
109 ui.warn(_("abort: could not import module %s!\n") % m)
110 110 if m in "mpatch bdiff".split():
111 111 ui.warn(_("(did you forget to compile extensions?)\n"))
112 112 elif m in "zlib".split():
General Comments 0
You need to be logged in to leave comments. Login now