diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-28 15:18:31 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-06 11:08:19 +0000 |
commit | 5c114ea31f38fc6505f4217c06a35520c677acbb (patch) | |
tree | cca65238ad0c7702591b5449c2551bc3762f6c1c /morphlib/buildcommand.py | |
parent | ee01dea68ecd0822785ef574f7c2ddcb44d0cafa (diff) | |
download | morph-5c114ea31f38fc6505f4217c06a35520c677acbb.tar.gz |
Tidy up create_cachedir()
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index df9cc690..907676fa 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -62,17 +62,16 @@ class BuildCommand(object): return morphlib.cachekeycomputer.CacheKeyComputer(build_env) def new_artifact_caches(self): - return morphlib.util.new_artifact_caches(self.app.settings) + '''Create interfaces for the build artifact caches. - def create_artifact_cachedir(self): - return morphlib.util.create_artifact_cachedir(self.app.settings) + This includes creating the directories on disk if they are missing. + + ''' + return morphlib.util.new_artifact_caches(self.app.settings) def new_repo_caches(self): return morphlib.util.new_repo_caches(self.app) - def create_cachedir(self): - return morphlib.util.create_cachedir(self.app.settings) - def compute_build_order(self, repo_name, ref, filename): '''Compute build order for a triplet.''' self.app.status(msg='Figuring out the right build order') |