From 8a4f4503d6d5238d7a7c30f09f75992b100d8fee Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 10 Sep 2014 10:45:48 +0000 Subject: Tidy morphlib.artifact.Artifact.metadata_basename --- morphlib/artifact.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'morphlib/artifact.py') diff --git a/morphlib/artifact.py b/morphlib/artifact.py index cf5cbdbb..b67f0da0 100644 --- a/morphlib/artifact.py +++ b/morphlib/artifact.py @@ -56,10 +56,7 @@ class Artifact(object): str(self.name)) def metadata_basename(self, metadata_name): # pragma: no cover - return '%s.%s.%s.%s' % (self.cache_key, - str(self.source.morphology['kind']), - str(self.name), - metadata_name) + return '%s.%s' % (self.basename(), metadata_name) def get_dependency_prefix_set(self): '''Collects all install prefixes of this artifact's build dependencies -- cgit v1.2.1