Dan Kenigsberg has posted comments on this change.
Change subject: configfile: remove no longer used methods. vdsm is no longer involved in libvirt log rotation since 33925 and we can remove prefixLines and prependSection. ......................................................................
Patch Set 3:
(1 comment)
https://gerrit.ovirt.org/#/c/36324/3/lib/vdsm/tool/configfile.py File lib/vdsm/tool/configfile.py:
Line 127: continue Line 128: Line 129: if not self._remove or self._rmstate != WITHIN: Line 130: if self._prefixRemove: Line 131: # todo: remove once from 3.5 not supported
I don't see anywhere such comment in vdsm
REQUIRED_FOR is added when we have ugly legacy code that we want to drop in the future. Line 132: prefix = '# VDSM backup' Line 133: if line.startswith(prefix): Line 134: line = line[len(prefix):] Line 135: m = confpat.match(line.rstrip())