Dan Kenigsberg has posted comments on this change. Change subject: HostKSM: Gracefully handle ksmd pid lookup failure ......................................................................
Patch Set 1: Code-Review+1 (1 comment) http://gerrit.ovirt.org/#/c/34378/1/mom/Collectors/HostKSM.py File mom/Collectors/HostKSM.py: Line 54: out = proc.communicate()[0] Line 55: if proc.returncode == 0: Line 56: return int(out) Line 57: else: Line 58: return -1 nit: None is a more pythonic way of saying "I found no pid". Line 59: Line 60: def open_files(self): Line 61: self.files = {} Line 62: for datum in self.sysfs_keys: -- To view, visit http://gerrit.ovirt.org/34378 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iccd14ee44f4f7d8d9107e692c9faa27e7c487790 Gerrit-PatchSet: 1 Gerrit-Project: mom Gerrit-Branch: master Gerrit-Owner: Adam Litke <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Martin Sivák <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
