summaryrefslogtreecommitdiff
path: root/morphlib/source.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-11 15:37:27 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-11 15:37:27 +0100
commitaad418511a48fe1fdbc89aacd0ff0f66d68022a9 (patch)
tree098e99d32e46f6c35f33b3a6432c8f0399f45308 /morphlib/source.py
parent083595f45b91db88fb7fe9b25a58a41241b6ff89 (diff)
downloadmorph-aad418511a48fe1fdbc89aacd0ff0f66d68022a9.tar.gz
morphlib.source: print the ref rather than the sha
Diffstat (limited to 'morphlib/source.py')
-rw-r--r--morphlib/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/source.py b/morphlib/source.py
index 4e36e189..d6d86216 100644
--- a/morphlib/source.py
+++ b/morphlib/source.py
@@ -57,4 +57,4 @@ class Source(object):
return source in self.dependencies
def __str__(self): # pragma: no cover
- return '%s|%s|%s' % (self.repo, self.sha1, self.filename)
+ return '%s|%s|%s' % (self.repo, self.original_ref, self.filename)