summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-23 17:31:45 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-23 17:33:14 +0000
commita6c42e3a18f514d92fbc5326566b15c9aed1226e (patch)
treeb92b38114ff0636434cdeb57137d64f4714f16cb /morphlib/cachekeycomputer.py
parent31edbd6ab1f7d393b4893b8b91a78de78f65d878 (diff)
downloadmorph-a6c42e3a18f514d92fbc5326566b15c9aed1226e.tar.gz
cachekeycomputer: use sha1s in the cache_id
This makes the dicts smaller, so should be faster and more manageable
Diffstat (limited to 'morphlib/cachekeycomputer.py')
-rw-r--r--morphlib/cachekeycomputer.py2
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]
}