[node-patches] Change in ovirt-node[master]: rhn: Discard error message after displaying it

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jan 28 10:06:27 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: rhn: Discard error message after displaying it
......................................................................

rhn: Discard error message after displaying it

Previously the RHN page continuiously showed an error message even if it
was displayed already.
Now the message is dropped after it has been shown.

rhbz#903989

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/11452/1

diff --git a/scripts/rhn.py b/scripts/rhn.py
index efae8ea..ae3f3f2 100755
--- a/scripts/rhn.py
+++ b/scripts/rhn.py
@@ -582,6 +582,8 @@
             ButtonChoiceWindow(self.ncs.screen, "Configuration Check",
                                 msg, buttons=['Ok'])
             self.ncs._set_title()
+            self.INVALID_URL_CONFIG_MSG = ""
+            self.INVALID_CA_CONFIG_MSG = ""
             return False
         if self.rhn_satellite.value() == 1 and self.rhn_ca.value() == "":
             ButtonChoiceWindow(self.ncs.screen, "RHN Configuration",


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f3ab9e2bf7c2b78cfb975187fa8d61970538953
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list