Nir Soffer has posted comments on this change.

Change subject: tox: fail make process if required tox version isn't installed.
......................................................................


Patch Set 19:

(1 comment)

https://gerrit.ovirt.org/#/c/59306/19/build-aux/vercmp
File build-aux/vercmp:

Line 44:     if padding > 0:
Line 45:         required_version += [0] * padding
Line 46: 
Line 47:     if actual_version < required_version:
Line 48:         logging.debug("%s < %s", actual_version, required_version)
You are not using the logger, so the output is:

    root: [0, 1, 10] < [0, 2, 0]

Instead of:

    vercmp: [0, 1, 10] < [0, 2, 0]

Did you test this with -v?

All logging calls should use the logger:

    log.debug(...)
Line 49:         return 0
Line 50:     elif actual_version == required_version:
Line 51:         logging.debug("%s == %s", actual_version, required_version)
Line 52:         return 1


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I665025dacdd5346a5e021ac98e864f7b6461917c
Gerrit-PatchSet: 19
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Edward Haas <edwa...@redhat.com>
Gerrit-Reviewer: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to