diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-22 10:50:44 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-22 10:50:44 +0000 |
commit | e12103f04022661364066a758f8df5a6bacc11a3 (patch) | |
tree | aa779d02d9b1892c1353b221dfd566a9cf0ec472 /morphlib | |
parent | 443ddeda52e94a979dd8dcb93f81e9a6ecce1847 (diff) | |
download | morph-e12103f04022661364066a758f8df5a6bacc11a3.tar.gz |
Fix exception when updating a cached clone in _cache_repo_from_url().
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/sourcemanager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/sourcemanager.py b/morphlib/sourcemanager.py index 43fd33e3..c802da28 100644 --- a/morphlib/sourcemanager.py +++ b/morphlib/sourcemanager.py @@ -139,6 +139,7 @@ class SourceManager(object): if os.path.exists(cached_repo): # pragma: no cover # the cache location exists, assume this is what we want self.msg('Using cached clone %s of %s' % (cached_repo, repo_url)) + return cached_repo, None else: # bundle server did not have a bundle for the repo self.msg('Cloning %s into %s' % (repo_url, cached_repo)) |