[node-patches] Change in ovirt-node[master]: Smaller syntax fixes

fabiand at redhat.com fabiand at redhat.com
Thu Jul 17 10:38:20 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: Smaller syntax fixes
......................................................................

Smaller syntax fixes

Change-Id: I367accbf24da1fdd620a7857aa7ada03d8f35f89
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/network.py
M src/ovirt/node/utils/virt.py
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/16/30216/1

diff --git a/src/ovirt/node/utils/network.py b/src/ovirt/node/utils/network.py
index b03dde9..467d6b4 100644
--- a/src/ovirt/node/utils/network.py
+++ b/src/ovirt/node/utils/network.py
@@ -265,7 +265,7 @@
                 LOGGER.debug("Failed to retrieve carrier with NM")
 
         # Fallback
-        process.call(["ip","link", "set", "dev", self.ifname, "up"])
+        process.call(["ip", "link", "set", "dev", self.ifname, "up"])
 
         content = File("/sys/class/net/%s/carrier" % self.ifname).read()
         has_carrier = "1" in content
diff --git a/src/ovirt/node/utils/virt.py b/src/ovirt/node/utils/virt.py
index cd40171..9d53545 100644
--- a/src/ovirt/node/utils/virt.py
+++ b/src/ovirt/node/utils/virt.py
@@ -95,6 +95,7 @@
         reachable = False
     return reachable
 
+
 def number_of_domains():
     # FIXME solve this more general
     num_domains = None


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I367accbf24da1fdd620a7857aa7ada03d8f35f89
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list