Fix the handling a bit
This commit is contained in:
parent
6e8bfd5741
commit
5db8ae6b7d
|
@ -35,6 +35,7 @@ class VMInstance:
|
|||
try:
|
||||
dom = conn.createXML(xmlconfig, 0)
|
||||
except:
|
||||
dom = None
|
||||
print('Failed to create domain %s' % self.domuuid)
|
||||
|
||||
if dom == None:
|
||||
|
|
Loading…
Reference in New Issue