From a6c42e3a18f514d92fbc5326566b15c9aed1226e Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 23 Apr 2012 17:31:45 +0000 Subject: cachekeycomputer: use sha1s in the cache_id This makes the dicts smaller, so should be faster and more manageable --- morphlib/cachekeycomputer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib/cachekeycomputer.py') 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] } -- cgit v1.2.1