diff options
Diffstat (limited to 'morphlib/artifact.py')
-rw-r--r-- | morphlib/artifact.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/artifact.py b/morphlib/artifact.py index db105ebd..9403f081 100644 --- a/morphlib/artifact.py +++ b/morphlib/artifact.py @@ -20,3 +20,8 @@ class Artifact(object): self.source = source self.name = name self.cache_key = cache_key + + def __str__(self): # pragma: no cover + return '%s.%s.%s' % (self.cache_key, + self.source.morphology['kind'], + self.name) |