diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-01 16:26:09 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-02 17:13:29 +0000 |
commit | 9393b59b2afdb9ded9c7e638493a1901017dfbbc (patch) | |
tree | a9e7127a4c9cf5f15d7b71cbfdd7b27928a8b8cf /morphlib/builder.py | |
parent | 53185f9ed8936086f03c88797f4d5b89ffa82cc2 (diff) | |
download | morph-9393b59b2afdb9ded9c7e638493a1901017dfbbc.tar.gz |
Remove unnecessary method (which also had an unhelpful name)
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index 7734e41f..5439914a 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -278,7 +278,7 @@ class ChunkBuilder(BlobBuilder): # pragma: no cover self.ex = morphlib.execute.Execute(self.builddir, self.msg) self.setup_env() - self.prepare_build_directory() + self.factory.unpack_sources(self.blob.morph.treeish, self.builddir) os.mkdir(self.destdir) self.build_with_system_or_commands() @@ -377,9 +377,6 @@ class ChunkBuilder(BlobBuilder): # pragma: no cover for key in sorted(self.ex.env): logging.debug(' %s=%s' % (key, self.ex.env[key])) - def prepare_build_directory(self): - self.factory.unpack_sources(self.blob.morph.treeish, self.builddir) - def build_with_system_or_commands(self): '''Run explicit commands or commands from build system. |