Nir Soffer has posted comments on this change.
Change subject: utils: Use ovirt node for persist and unpersist files ......................................................................
Patch Set 1:
(1 comment)
http://gerrit.ovirt.org/#/c/31584/1/lib/vdsm/utils.py File lib/vdsm/utils.py:
Line 143: raise Line 144: Line 145: Line 146: def persistFile(name): Line 147: if isOvirtNode():
It does not require a new instance. I agree with doing it in import time (A
You mean - should have been functions in the fs module :-) Line 148: from ovirt.node.utils.fs import Config as NodeCfg Line 149: NodeCfg().persist(name) Line 150: Line 151: