[node-patches] Change in ovirt-node[master]: rhn: Fix sam_check

mburns at redhat.com mburns at redhat.com
Wed Jan 9 15:00:15 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: rhn: Fix sam_check
......................................................................


rhn: Fix sam_check

Previously the check was based on the return value, this wasn't reliable
as 0 was also returned when the node was registered to RHN or a
Satellite server.
Now the function is looking for a magic string to determin if SAM is
used or not.

Change-Id: Ifebca13acc78d143ff441076cd9dc0b72766503d
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/rhn.py
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifebca13acc78d143ff441076cd9dc0b72766503d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list