comparison mercurial/commands.py @ 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 00fc88b0b256
children 8367b67ad397 70d65ca6d893
comparison
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]