Simone Tiraboschi has posted comments on this change.

Change subject: packaging: setup: Force a minimal ETL version
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/27524/2/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-dwh/core/check_etl.py
File 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-dwh/core/check_etl.py:

Line 72:         currentVersion = odwhcons.Const.RPM_VERSION
Line 73:         minVersion, minMinor = self._parseVersionString(minimalVersion)
Line 74:         curVersion, curMinor = self._parseVersionString(currentVersion)
Line 75:         if (
Line 76:             (float(curVersion) != float(minVersion)) or
Shouldn't it be 
(float(curVersion) < float(minVersion)) or ((float(curVersion) = 
float(minVersion)) and 
(int(curMinor) < int(minMinor))) ?
Line 77:             (int(curMinor) < int(minMinor))
Line 78:         ):
Line 79:             raise RuntimeError(
Line 80:                 _(


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iccef80d1397c6b66ad5a8440e59af238b42416a7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Simone Tiraboschi <[email protected]>
Gerrit-Reviewer: Yaniv Dary <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to