[node-patches] Change in ovirt-node[master]: ovirtnode: Don't return in __init__

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Dec 18 17:47:48 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/39/22539/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index 2e11997..772d18d 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -93,7 +93,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"]
@@ -113,7 +113,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
                 logger.info(("Setting value for %s to %s " %
                            (self.__dict__[i_short], _functions.OVIRT_VARS[i])))
                 i_short = i_short.replace("MIN_", "")
@@ -132,7 +132,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/22539
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I97790dac3e0b8e3fb8643728a72e8b4d58b8bc71
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list