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