[node-patches] Change in ovirt-node[master]: fix rhn_url comparison check

jboggs at redhat.com jboggs at redhat.com
Fri Oct 19 17:22:14 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: fix rhn_url comparison check
......................................................................

fix rhn_url comparison check

rhbz#868194

Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I9905120770d99304347e09a80a1a6474e2c0263c
---
M scripts/rhn.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/81/8681/1

diff --git a/scripts/rhn.py b/scripts/rhn.py
index 055ccff..f8ef7f4 100755
--- a/scripts/rhn.py
+++ b/scripts/rhn.py
@@ -521,8 +521,8 @@
             pass
         self.rhn_actkey = Entry(40, "")
         if rhn_check():
-            if self.rhn_url.value() == ("https://xmlrpc.rhn.redhat.com/XMLRPC"
-                                        or len(self.rhn_url.value()) == 0):
+            if self.rhn_url.value() == "https://xmlrpc.rhn.redhat.com/XMLRPC" \
+                                        or len(self.rhn_url.value()) == 0:
                 self.public_rhn.setValue("*")
                 self.rhn_url.setFlags(_snack.FLAG_DISABLED, _snack.FLAGS_SET)
                 self.rhn_ca.setFlags(_snack.FLAG_DISABLED, _snack.FLAGS_SET)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9905120770d99304347e09a80a1a6474e2c0263c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list