diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2013-05-23 16:52:20 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2013-05-24 15:52:37 +0100 |
commit | 54bc976b363bd34dfd39ba343530b8bc42cb0715 (patch) | |
tree | 1c8e130abfd9bc9b8079ea0fb73efa8060e906a6 /morphlib/cachekeycomputer.py | |
parent | 8a113747fc9aef15592f8ae0cabd027575e97caa (diff) | |
download | morph-54bc976b363bd34dfd39ba343530b8bc42cb0715.tar.gz |
Include the artifact metadata-version in the cache id key
Diffstat (limited to 'morphlib/cachekeycomputer.py')
-rw-r--r-- | morphlib/cachekeycomputer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py index 6acf654b..d7e2e3b1 100644 --- a/morphlib/cachekeycomputer.py +++ b/morphlib/cachekeycomputer.py @@ -81,7 +81,8 @@ class CacheKeyComputer(object): keys = { 'env': self._filterenv(self._build_env.env), 'filename': artifact.source.filename, - 'kids': [self.compute_key(x) for x in artifact.dependencies] + 'kids': [self.compute_key(x) for x in artifact.dependencies], + 'metadata-version': artifact.metadata_version } kind = artifact.source.morphology['kind'] |