From 9393b59b2afdb9ded9c7e638493a1901017dfbbc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 1 Mar 2012 16:26:09 +0000 Subject: Remove unnecessary method (which also had an unhelpful name) --- morphlib/builder.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'morphlib/builder.py') 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. -- cgit v1.2.1