equal
deleted
inserted
replaced
3293 try: |
3293 try: |
3294 mod = importh("hgext." + x[0]) |
3294 mod = importh("hgext." + x[0]) |
3295 except ImportError: |
3295 except ImportError: |
3296 mod = importh(x[0]) |
3296 mod = importh(x[0]) |
3297 external.append(mod) |
3297 external.append(mod) |
|
3298 except (util.SignalInterrupt, KeyboardInterrupt): |
|
3299 raise |
3298 except Exception, inst: |
3300 except Exception, inst: |
3299 u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst)) |
3301 u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst)) |
3300 if u.print_exc(): |
3302 if u.print_exc(): |
3301 return 1 |
3303 return 1 |
3302 |
3304 |