diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 8b3330e4..af16b767 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -432,8 +432,8 @@ class QubesVm(object): dominfo = self.get_xl_dominfo() if dominfo: - uuid = uuid.UUID(''.join('%02x' % b for b in dominfo.uuid)) - return uuid + vmuuid = uuid.UUID(''.join('%02x' % b for b in dominfo.uuid)) + return vmuuid else: return None