[node-patches] Change in ovirt-node[node-3.0]: ovirtnode: Don't return in __init__
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Dec 18 17:58:47 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: ovirtnode: Don't return in __init__
......................................................................
ovirtnode: Don't return in __init__
Change-Id: I97790dac3e0b8e3fb8643728a72e8b4d58b8bc71
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/storage.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/43/22543/1
diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index 8cddb85..ef25e86 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -91,7 +91,7 @@
"size of: %s" % self.MIN_SWAP_SIZE)
print ("\n\nSwap size is smaller than minimum required " +
"size of: %s" % self.MIN_SWAP_SIZE)
- return False
+ #return False
sys.exit(1)
else:
self.SWAP_SIZE = _functions.OVIRT_VARS["OVIRT_VOL_SWAP_SIZE"]
@@ -111,7 +111,7 @@
"of: %s") % (i, self.__dict__[i_short]))
print (("\n%s is smaller than minimum required size of: " +
"%s") % (i, self.__dict__[i_short]))
- return False
+ #return False
logging.info(("Setting value for %s to %s " %
(self.__dict__[i_short], _functions.OVIRT_VARS[i])))
i_short = i_short.replace("MIN_", "")
@@ -130,7 +130,7 @@
if self.SWAP2_SIZE != 0 or self.DATA2_SIZE != 0:
logger.error("Missing device parameter for AppVG: " +
"unable to partition any disk")
- return False
+ #return False
def cross_check_host_app(self):
logger.debug("Doing cross-check (if a device is a member of appvg " +
--
To view, visit http://gerrit.ovirt.org/22543
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I97790dac3e0b8e3fb8643728a72e8b4d58b8bc71
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list