From: Sam Hartman Date: Tue, 16 Nov 2010 16:54:06 +0000 (-0500) Subject: Correct logic for schroot creation X-Git-Tag: vm/20110310~72^2~8 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=8b6e907c366a702c21bdebdfe4201a44b66c1838;hp=48f128b619dea474291620a57304db8d3975139c;p=moonshot.git Correct logic for schroot creation --- diff --git a/builder b/builder index 2bc3a21..0c9fdda 100755 --- a/builder +++ b/builder @@ -28,7 +28,7 @@ class Schroot(object): '''Initialize a new schroot option from the named schroot. Unless the named schroot starts with session:, then a new session schroot is created.''' - if name.startswith('session:'): + if not name.startswith('session:'): self.name = command_output(('schroot', '-b', '-c', name)) self.end_session = True