[node-patches] Change in ovirt-node[master]: pep8: Fix if statment in system.py

dougsland at redhat.com dougsland at redhat.com
Thu Jun 11 00:56:15 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: pep8: Fix if statment in system.py
......................................................................

pep8: Fix if statment in system.py

system.py:1039:16: E713 test for membership should be 'not in'

Change-Id: I596b3298c7fd8e2925097806905061da1fa6c698
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirt/node/utils/system.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/91/42191/1

diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py
index c68d2ed..50d0c1e 100644
--- a/src/ovirt/node/utils/system.py
+++ b/src/ovirt/node/utils/system.py
@@ -1035,7 +1035,7 @@
             return params
 
         def dry_arguments(self, line):
-            if not "vmlinuz" in line:
+            if "vmlinuz" not in line:
                 line = "vmlinuz " + line
             return self.__get_arguments(kernel=line)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I596b3298c7fd8e2925097806905061da1fa6c698
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list