diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-23 17:31:45 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-23 17:33:14 +0000 |
commit | a6c42e3a18f514d92fbc5326566b15c9aed1226e (patch) | |
tree | b92b38114ff0636434cdeb57137d64f4714f16cb | |
parent | 31edbd6ab1f7d393b4893b8b91a78de78f65d878 (diff) | |
download | morph-a6c42e3a18f514d92fbc5326566b15c9aed1226e.tar.gz |
cachekeycomputer: use sha1s in the cache_id
This makes the dicts smaller, so should be faster and more manageable
-rw-r--r-- | morphlib/cachekeycomputer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py index 5a8e9d98..033c0318 100644 --- a/morphlib/cachekeycomputer.py +++ b/morphlib/cachekeycomputer.py @@ -83,5 +83,5 @@ class CacheKeyComputer(object): 'env': self._filterenv(self._build_env.env), 'ref': artifact.source.sha1, 'filename': artifact.source.filename, - 'kids': [self.get_cache_id(x) for x in artifact.dependencies] + 'kids': [self.compute_key(x) for x in artifact.dependencies] } |