Show More
@@ -16,8 +16,8 b' def find(name):' | |||
|
16 | 16 | return _extensions[name] |
|
17 | 17 | except KeyError: |
|
18 | 18 | for k, v in _extensions.iteritems(): |
|
19 |
if k.endswith('.' + name) or k.endswith('/' + name) |
|
|
20 |
return |
|
|
19 | if k.endswith('.' + name) or k.endswith('/' + name): | |
|
20 | return v | |
|
21 | 21 | raise KeyError(name) |
|
22 | 22 | |
|
23 | 23 | def load(ui, name, path): |
General Comments 0
You need to be logged in to leave comments.
Login now