summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-06-15 07:47:59 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-06-16 16:23:00 +0000
commitde9577e3a797c3e2efd4bd69b9dad902f7c9c09d (patch)
tree7815f0fe5bacf061e3cf3c53fead701615465f1b
parenta7748f9cdaaf4112c30d7c15cb17fb45cbded08a (diff)
downloadmorph-de9577e3a797c3e2efd4bd69b9dad902f7c9c09d.tar.gz
Swap repr() for str() in ref add errmsg
Old message: ERROR: Adding ref refs/heads/baserock/builds/review/javier_jard_n/foundation_core/d3401783ea054fc18ee56ccdb0030d0a with commit 1c60a89a98c5ee532fefd363240b06870ada02f5 failed in git repository located at /src/definitions: AppException() New message: ERROR: Adding ref refs/heads/baserock/builds/review/javier_jard_n/foundation_core/d3401783ea054fc18ee56ccdb0030d0a with commit 1c60a89a98c5ee532fefd363240b06870ada02f5 failed in git repository located at /src/definitions: Command failed: git update-ref refs/heads/baserock/builds/review/javier_jard_n/foundation_core/d3401783ea054fc18ee56ccdb0030d0a 1c60a89a98c5ee532fefd363240b06870ada02f5... Change-Id: Idc6a47388f53d358b7dfc2c0f7fa82eefbc92630
-rw-r--r--morphlib/gitdir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py
index 48fab3fe..6f85f742 100644
--- a/morphlib/gitdir.py
+++ b/morphlib/gitdir.py
@@ -67,7 +67,7 @@ class RefAddError(RefChangeError):
self.original_exception = original_exception
RefChangeError.__init__(self, 'Adding ref %(ref)s '\
'with commit %(sha1)s failed in git repository '\
- 'located at %(dirname)s: %(original_exception)r' % locals())
+ 'located at %(dirname)s: %(original_exception)s' % locals())
class RefUpdateError(RefChangeError):