Vinzenz Feenstra has posted comments on this change.

Change subject: Implementation for CPU topology reporting
......................................................................


Patch Set 7:

(1 comment)

http://gerrit.ovirt.org/#/c/23268/7/ovirt-guest-agent/topology.py
File ovirt-guest-agent/topology.py:

Line 34: def _read_file(*parts):
Line 35:     f = open(os.path.join('/sys/devices/system/cpu', *parts), 'r')
Line 36:     result = f.read().replace('\n', '')
Line 37:     f.close()
Line 38:     return result
> pet peeve of mine (so again no big deal):
We need to keep python 2.4 compatibility otherwise I agree
Line 39: 
Line 40: 
Line 41: def _read_topology_file(id, file):
Line 42:     return _read_file('cpu%d' % id, 'topology', file)


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If937fd33d2efa11425c814188df2087a85af8357
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to