equal
deleted
inserted
replaced
2793 components = name.split('.') |
2793 components = name.split('.') |
2794 for comp in components[1:]: |
2794 for comp in components[1:]: |
2795 mod = getattr(mod, comp) |
2795 mod = getattr(mod, comp) |
2796 return mod |
2796 return mod |
2797 try: |
2797 try: |
2798 mod = importh(x[0]) |
2798 try: |
|
2799 mod = importh("hgext." + x[0]) |
|
2800 except ImportError: |
|
2801 mod = importh(x[0]) |
2799 except Exception, inst: |
2802 except Exception, inst: |
2800 on_exception(Exception, inst) |
2803 on_exception(Exception, inst) |
2801 continue |
2804 continue |
2802 |
2805 |
2803 external.append(mod) |
2806 external.append(mod) |