summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-29 06:03:50 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-29 11:32:51 +0000
commit1f66776dd0f2b7aec093f7f85d34b84ad074adad (patch)
treeb42ff23c1f5ff9444664366b0800b162e492ee7c
parent93b034f045a2c7443122d7b082ad4460339907d0 (diff)
downloadmorph-1f66776dd0f2b7aec093f7f85d34b84ad074adad.tar.gz
CachedRepo: Fix reference to _gitdir
87f8dbefda89bf6cb9e4b88f23a5317b054da0d4 added a method that used _gitdir, but the patch to change it to gitdir was merged afterwards. Change-Id: Ibd9bff73a0fe69b3c1c2ff6acd02df6cea4a13de
-rw-r--r--morphlib/cachedrepo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/cachedrepo.py b/morphlib/cachedrepo.py
index 93bb357e..9f6ee46b 100644
--- a/morphlib/cachedrepo.py
+++ b/morphlib/cachedrepo.py
@@ -150,7 +150,7 @@ class CachedRepo(object):
repository.
'''
- return self._gitdir.version_guess(ref)
+ return self.gitdir.version_guess(ref)
def list_files(self, ref, recurse=True): # pragma: no cover
'''Return filenames found in the tree pointed to by the given ref.