equal
deleted
inserted
replaced
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] |