summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-11-29 15:15:39 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-11-29 15:15:39 +0000
commitbc6a88ae5b139f908cfcc0d33da140ffd9095d49 (patch)
tree7cc7c32cf327df1a2816ed851eadbad563e54f44 /morphlib/builder2.py
parent92e3d9d415bf180982046f647230493bdf2b86b5 (diff)
downloadmorph-bc6a88ae5b139f908cfcc0d33da140ffd9095d49.tar.gz
Reformat code, plus adapt for non-staging-area builds
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 402c17f4..88717bb9 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -260,7 +260,8 @@ class ChunkBuilder(BuilderBase):
def build_and_cache(self): # pragma: no cover
with self.build_watch('overall-build'):
- builddir, destdir = self.staging_area.chroot_open(self.artifact.source)
+ builddir, destdir = \
+ self.staging_area.chroot_open(self.artifact.source)
log_name = None
try:
self.get_sources(builddir)