From c9ad2314ea439f917d85b10a9cf8cb8f49555adc Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 20 Jul 2011 16:12:28 +0200 Subject: [PATCH] dom0: variable names conflict (#290) uuid is also name of (used here) python module... --- dom0/qvm-core/qubes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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