Zhou Zheng Sheng has posted comments on this change.

Change subject: Make libvirtvm.py PEP8 compliant
......................................................................


Patch Set 2: (2 inline comments)

....................................................
File vdsm/libvirtvm.py
Line 82:                              config.getint('vars', 
'vm_sample_net_window'))
Line 83: 
Line 84:         self.addStatsFunction(self.highWrite, self.updateVolumes,
Line 85:                 self.sampleCpu, self.sampleDisk, 
self.sampleDiskLatency,
Line 86:                 self.sampleNet)
In http://www.python.org/dev/peps/pep-0008/#indentation there is an example.

# More indentation included to distinguish this from the rest.
def long_function_name(
        var_one, var_two, var_three,
        var_four):
    print(var_one)
Line 87: 
Line 88:     def _highWrite(self):
Line 89:         if not self._vm._volumesPrepared:
Line 90:             # Avoid queries from storage during recovery process


Line 142
Line 143
Line 144
Line 145
Line 146
Why delete the comments?


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I32570c2d1a2efa4a5446caa6d973a10b4c84d996
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to