summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-15 18:35:49 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-15 18:35:49 +0000
commit740042d4d8c3c77d3d4f82f94f7952b0b2e271ba (patch)
tree2d9a19f1ab03bc2662b75ef8faed193f38231d87
parent865c63cba8b0ae190bb5d504b655b687124c1d56 (diff)
downloadanaconda-740042d4d8c3c77d3d4f82f94f7952b0b2e271ba.tar.gz
anaconda-740042d4d8c3c77d3d4f82f94f7952b0b2e271ba.tar.xz
anaconda-740042d4d8c3c77d3d4f82f94f7952b0b2e271ba.zip
move the else to the right level so we don't lose ports and
trusted devs (#105994)
-rw-r--r--iw/firewall_gui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/firewall_gui.py b/iw/firewall_gui.py
index 2a104acad..a0e459d7f 100644
--- a/iw/firewall_gui.py
+++ b/iw/firewall_gui.py
@@ -40,8 +40,8 @@ class FirewallWindow (InstallWindow):
if rc2 == 0:
raise gui.StayOnScreen
- else:
- self.firewall.enabled = 0
+ else:
+ self.firewall.enabled = 0
count = 0
self.firewall.trustdevs = []
@@ -66,7 +66,7 @@ class FirewallWindow (InstallWindow):
elif service == "FTP":
self.firewall.ftp = val
count = count + 1
-
+
portstring = string.strip(self.ports.get_text())
portlist = ""
bad_token_found = 0