diff options
-rw-r--r-- | libbe/storage/__init__.py | 3 | ||||
-rw-r--r-- | libbe/storage/vcs/base.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index 5d5b918..c58ec34 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -15,8 +15,7 @@ def get_storage(location): Return a Storage instance from a repo location string. """ import vcs - #s = vcs.detect_vcs(location) - s = vcs.vcs_by_name('None') + s = vcs.detect_vcs(location) s.repo = location return s diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 69e412e..a765a80 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -66,7 +66,6 @@ def _get_matching_vcs(matchfn): vcs = module.new() if matchfn(vcs) == True: return vcs - vcs.cleanup() return VCS() def vcs_by_name(vcs_name): |