[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
Mon Nov 23 16:58:15 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: [rhn] Don't try to unpersist files unless they're persisted
......................................................................


[rhn] Don't try to unpersist files unless they're persisted

Use Config().exists(), not os.path.exists(), which provides no
guarantees of whether it's persisted.

Change-Id: I16267d0d5ebd104fc85b174c7b86df3a2d4724d9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1275222
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/setup/rhn/rhn_model.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/48035
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I16267d0d5ebd104fc85b174c7b86df3a2d4724d9
Gerrit-PatchSet: 2
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: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the node-patches mailing list