Change in vdsm[master]: toolTests: Fix pyflakes error.

mtayer at redhat.com mtayer at redhat.com
Tue Sep 30 11:08:22 UTC 2014


mooli tayer has uploaded a new change for review.

Change subject: toolTests: Fix pyflakes error.
......................................................................

toolTests: Fix pyflakes error.

At change 32713 I introduced a pyflakes violation:
./tests/toolTests.py:309: undefined name 'Libvirt'

Change-Id: Ibb8fb3a8413d97d3ad6dca6ccbb81748facafe84
Signed-off-by: Mooli Tayer <mtayer at redhat.com>
---
M tests/toolTests.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/31/33531/1

diff --git a/tests/toolTests.py b/tests/toolTests.py
index 058c038..67d9f6b 100644
--- a/tests/toolTests.py
+++ b/tests/toolTests.py
@@ -306,7 +306,8 @@
             with open(os.path.join(dirName,
                                    'toolTests_%s.conf' % type_)) as template:
                 data = template.read()
-                data = data % {'LATEST_CONF_VERSION': Libvirt.CONF_VERSION}
+                data = data % {
+                    'LATEST_CONF_VERSION': libvirt.Configurator.CONF_VERSION}
             with open(self.test_env[file_], 'w') as testConf:
                 testConf.write(data)
 


-- 
To view, visit http://gerrit.ovirt.org/33531
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb8fb3a8413d97d3ad6dca6ccbb81748facafe84
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <mtayer at redhat.com>


More information about the vdsm-patches mailing list