mercurial/commands.py
changeset 2617 0b4bff2b0ce3
parent 2601 00fc88b0b256
child 2618 8367b67ad397
child 2625 70d65ca6d893
equal deleted inserted replaced
2611:1b4eb1f92433 2617:0b4bff2b0ce3
  3306                     mod = importh(ext_name)
  3306                     mod = importh(ext_name)
  3307             external[ext_name] = mod.__name__
  3307             external[ext_name] = mod.__name__
  3308         except (util.SignalInterrupt, KeyboardInterrupt):
  3308         except (util.SignalInterrupt, KeyboardInterrupt):
  3309             raise
  3309             raise
  3310         except Exception, inst:
  3310         except Exception, inst:
  3311             u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst))
  3311             u.warn(_("*** failed to import extension %s: %s\n") % (ext_name, inst))
  3312             if u.print_exc():
  3312             if u.print_exc():
  3313                 return 1
  3313                 return 1
  3314 
  3314 
  3315     for name in external.itervalues():
  3315     for name in external.itervalues():
  3316         mod = sys.modules[name]
  3316         mod = sys.modules[name]