Change in vdsm[master]: utils: make isOvirtNode always return a boolean

danken at redhat.com danken at redhat.com
Wed Jun 18 22:16:52 UTC 2014


Dan Kenigsberg has posted comments on this change.

Change subject: utils: make isOvirtNode always return a boolean
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

http://gerrit.ovirt.org/#/c/28898/1/lib/vdsm/utils.py
File lib/vdsm/utils.py:

Line 1158: 
Line 1159: 
Line 1160: @memoized
Line 1161: def isOvirtNode():
Line 1162:     return (os.path.exists('/etc/rhev-hypervisor-release') or
the needless newline deletion did not pay...
Line 1163:         bool(glob.glob('/etc/ovirt-node-*-release')))
Line 1164: 
Line 1165: 
Line 1166: # Copied from


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I46bc5b315bd28f260e3c7c1eb61d3ec947f74d76
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list