summaryrefslogtreecommitdiff
path: root/buildstream/_artifactcache/ostreecache.py
diff options
context:
space:
mode:
authorfinnball <finn.ball@codethink.com>2018-05-14 11:33:35 +0100
committerfinnball <finn.ball@codethink.com>2018-05-14 14:10:38 +0100
commitaa0964bc061388b6404bab40d1fbc84de5b010ec (patch)
tree7d6119a26f3b54fbfc74c8aea038809dda351d13 /buildstream/_artifactcache/ostreecache.py
parentb9dea6663be401c5afe8494332328509b9425098 (diff)
downloadbuildstream-kill_element_normal_name.tar.gz
Removed element.normal_name.kill_element_normal_name
This fixes issue #288.
Diffstat (limited to 'buildstream/_artifactcache/ostreecache.py')
-rw-r--r--buildstream/_artifactcache/ostreecache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/ostreecache.py b/buildstream/_artifactcache/ostreecache.py
index c802fc2e2..3424c7b14 100644
--- a/buildstream/_artifactcache/ostreecache.py
+++ b/buildstream/_artifactcache/ostreecache.py
@@ -100,7 +100,7 @@ class OSTreeCache(ArtifactCache):
# Extracting a nonexistent artifact is a bug
assert rev, "Artifact missing for {}".format(ref)
- dest = os.path.join(self.extractdir, element._get_project().name, element.normal_name, rev)
+ dest = os.path.join(self.extractdir, element._get_project().name, element.name, rev)
if os.path.isdir(dest):
# artifact has already been extracted
return dest