Fix the handling a bit

This commit is contained in:
Joshua Boniface 2018-06-02 00:36:31 -04:00
parent 6e8bfd5741
commit 5db8ae6b7d
1 changed files with 1 additions and 0 deletions

View File

@ -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: