From 5db8ae6b7d1738fdee41e6b85130cf3b54c5c2c4 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 2 Jun 2018 00:36:31 -0400 Subject: [PATCH] Fix the handling a bit --- VMInstance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/VMInstance.py b/VMInstance.py index bb5c35ac..ad73b8d5 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -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: