core: fix bogus return value from __init__
This commit is contained in:
parent
999698bd68
commit
1b428f6865
@ -338,7 +338,7 @@ class QubesVm(object):
|
|||||||
if not self.template.is_template():
|
if not self.template.is_template():
|
||||||
print >> sys.stderr, "ERROR: template_qid={0} doesn't point to a valid TemplateVM".\
|
print >> sys.stderr, "ERROR: template_qid={0} doesn't point to a valid TemplateVM".\
|
||||||
format(self.template.qid)
|
format(self.template.qid)
|
||||||
return False
|
return
|
||||||
self.template.appvms[self.qid] = self
|
self.template.appvms[self.qid] = self
|
||||||
else:
|
else:
|
||||||
assert self.root_img is not None, "Missing root_img for standalone VM!"
|
assert self.root_img is not None, "Missing root_img for standalone VM!"
|
||||||
|
Loading…
Reference in New Issue
Block a user