equal
deleted
inserted
replaced
133 name = e.rsplit('.', 1)[0] |
133 name = e.rsplit('.', 1)[0] |
134 path = os.path.join(extpath, e) |
134 path = os.path.join(extpath, e) |
135 else: |
135 else: |
136 name = e |
136 name = e |
137 path = os.path.join(extpath, e, '__init__.py') |
137 path = os.path.join(extpath, e, '__init__.py') |
|
138 if not os.path.exists(path): |
|
139 continue |
138 |
140 |
139 if name in exts or name == '__init__' or not os.path.exists(path): |
141 if name in exts or name == '__init__': |
140 continue |
142 continue |
141 |
143 |
142 try: |
144 try: |
143 find(name) |
145 find(name) |
144 except KeyError: |
146 except KeyError: |