Show More
@@ -13,7 +13,8 b' demandload(globals(), "localrepo bundler' | |||||
13 | demandload(globals(), "errno lock os shutil util") |
|
13 | demandload(globals(), "errno lock os shutil util") | |
14 |
|
14 | |||
15 | def _local(path): |
|
15 | def _local(path): | |
16 |
return os.path.isfile(util.drop_scheme('file', path)) and |
|
16 | return (os.path.isfile(path and util.drop_scheme('file', path)) and | |
|
17 | bundlerepo or localrepo) | |||
17 |
|
18 | |||
18 | schemes = { |
|
19 | schemes = { | |
19 | 'bundle': bundlerepo, |
|
20 | 'bundle': bundlerepo, |
General Comments 0
You need to be logged in to leave comments.
Login now