summaryrefslogtreecommitdiffstats
path: root/textw/network_text.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2008-12-20 11:23:16 +0100
committerHans de Goede <hdegoede@redhat.com>2008-12-20 11:23:16 +0100
commitd83270a0337370a8f8981c5b44bccae847f29749 (patch)
tree204811ff94cd02ba877e3a2127b1741fc32d9df4 /textw/network_text.py
parentd5b0c509015d0424bad95651a8d27750bdab1aff (diff)
downloadanaconda-d83270a0337370a8f8981c5b44bccae847f29749.tar.gz
anaconda-d83270a0337370a8f8981c5b44bccae847f29749.tar.xz
anaconda-d83270a0337370a8f8981c5b44bccae847f29749.zip
Fix a few syntax error caugh by pychecker
Fix a few syntax error caugh by pychecker.
Diffstat (limited to 'textw/network_text.py')
-rw-r--r--textw/network_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index 0b904055b..f35510f05 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -59,7 +59,7 @@ class HostnameWindow:
return INSTALL_BACK
hostname = string.strip(hostEntry.value())
- neterrors = network.sanityCheckHostname(hostname)
+ herrors = network.sanityCheckHostname(hostname)
if not hostname:
ButtonChoiceWindow(_("Error with Hostname"),
@@ -68,7 +68,7 @@ class HostnameWindow:
buttons = [ _("OK") ])
continue
- if neterrors is not None:
+ if herrors is not None:
ButtonChoiceWindow(_("Error with Hostname"),
_("The hostname \"%s\" is not valid for the "
"following reason:\n\n%s")