Change in vdsm[ovirt-3.5]: make pyflakes-0.7.3 happy

danken at redhat.com danken at redhat.com
Tue Jun 16 10:44:22 UTC 2015


Dan Kenigsberg has uploaded a new change for review.

Change subject: make pyflakes-0.7.3 happy
......................................................................

make pyflakes-0.7.3 happy

commit c087fc4 imported vdsm.config, which triggered a bug in Fedora
20's pyflakes.

Change-Id: I5a976baa2dd5afc1aa6737c15035eb2fb33a5889
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/14/42414/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index ba5e09d..24b0dfb 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -77,16 +77,16 @@
 
 def setupModule():
     """Persists network configuration."""
-    vdsm = VdsProxy()
-    vdsm.save_config()
+    v = VdsProxy()
+    v.save_config()
     for _ in range(DUMMY_POOL_SIZE):
         dummyPool.add(dummy.create())
 
 
 def tearDownModule():
     """Restores the network configuration previous to running tests."""
-    vdsm = VdsProxy()
-    vdsm.restoreNetConfig()
+    v = VdsProxy()
+    v.restoreNetConfig()
     for nic in dummyPool:
         dummy.remove(nic)
 


-- 
To view, visit https://gerrit.ovirt.org/42414
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a976baa2dd5afc1aa6737c15035eb2fb33a5889
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list