[node-patches] Change in ovirt-node[master]: [rhn] Don't try to unpersist files unless they're persisted
fabiand at redhat.com
fabiand at redhat.com
Tue Nov 10 09:33:45 UTC 2015
Fabian Deutsch has posted comments on this change.
Change subject: [rhn] Don't try to unpersist files unless they're persisted
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
https://gerrit.ovirt.org/#/c/48035/1/src/ovirt/node/setup/rhn/rhn_model.py
File src/ovirt/node/setup/rhn/rhn_model.py:
Line 286: title = "Removing old configuration"
Line 287:
Line 288: def commit(self):
Line 289: def scrub(f):
Line 290: if Config().exists(f):
Please fix the root cause in Config.unpersist() so that unpersist can be called on non-persisted files and doesn't do harm
Line 291: Config().unpersist(f)
Line 292: # Unlinking causes problems with satellite5. Why?
Line 293: # os.unlink(f)
Line 294: # find old SAM/Sat 6 registrations
--
To view, visit https://gerrit.ovirt.org/48035
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I16267d0d5ebd104fc85b174c7b86df3a2d4724d9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the node-patches
mailing list