core: fix bogus return value from __init__

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-29 16:19:50 +02:00
parent 999698bd68
commit 1b428f6865

View File

@ -338,7 +338,7 @@ class QubesVm(object):
if not self.template.is_template():
print >> sys.stderr, "ERROR: template_qid={0} doesn't point to a valid TemplateVM".\
format(self.template.qid)
return False
return
self.template.appvms[self.qid] = self
else:
assert self.root_img is not None, "Missing root_img for standalone VM!"