summaryrefslogtreecommitdiff
path: root/morphlib/artifact.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/artifact.py')
-rw-r--r--morphlib/artifact.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/artifact.py b/morphlib/artifact.py
index da6d3763..1e67643e 100644
--- a/morphlib/artifact.py
+++ b/morphlib/artifact.py
@@ -82,6 +82,9 @@ class Artifact(object):
def __str__(self): # pragma: no cover
return '%s|%s' % (self.source, self.name)
+ def __repr__(self): # pragma: no cover
+ return 'Artifact(%s)' % str(self)
+
def walk(self): # pragma: no cover
'''Return list of an artifact and its build dependencies.