summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-12 14:54:22 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-12 17:36:26 +0100
commit6fad174aa361b1b921fa9dae801239f2fa5fa397 (patch)
treea5b2c69eeb20a783dd0357f48dbea2e8df10e92e /morphlib/cachekeycomputer.py
parent8902a85ee612e98601daea8cca1e46c49511d106 (diff)
downloadmorph-6fad174aa361b1b921fa9dae801239f2fa5fa397.tar.gz
cachekeycomputer: prepare build environment change
CacheKeyComputer needs to know some stuff that is needed elsewhere as well. Rather than duplicate the storage, have a BuildEnvironment class to handle that.
Diffstat (limited to 'morphlib/cachekeycomputer.py')
-rw-r--r--morphlib/cachekeycomputer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py
index ade74b79..1cc377b3 100644
--- a/morphlib/cachekeycomputer.py
+++ b/morphlib/cachekeycomputer.py
@@ -20,9 +20,9 @@ import morphlib
class CacheKeyComputer():
- def __init__(self, env):
+ def __init__(self, build_env):
self._arch = morphlib.util.arch()
- self._env = self._filterenv(env)
+ self._env = self._filterenv(build_env.env)
self._calculated = {}
def _filterenv(self, env):