From d1cbb9b6b831f54fa65017b7a0e72b3c3dcecec6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 1 Mar 2012 14:24:15 +0000 Subject: Remove unnecessary variable --- morphlib/builder.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'morphlib/builder.py') diff --git a/morphlib/builder.py b/morphlib/builder.py index 800075a5..ce0471d9 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -179,9 +179,6 @@ class BlobBuilder(object): # pragma: no cover def build(self): self.prepare_logfile() - # record all items built in the process - built_items = [] - # get a list of all the items we have to build for this blob builds = self.builds() @@ -202,15 +199,13 @@ class BlobBuilder(object): # pragma: no cover self.install_chunk(name, filename) self.dump_memory_profile('after installing chunk') - built_items.append((name, filename)) - # store the logged build times in the cache self.save_build_times() # store the log file in the cache self.save_logfile() - - return built_items + + return builds.items() def filename(self, name): return '%s.%s.%s' % (self.cache_prefix, -- cgit v1.2.1