summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-29 12:59:32 -0400
committerChris Lumens <clumens@redhat.com>2008-09-29 12:59:32 -0400
commitabba5cc3776ca767c7ac848e854d3941e4efe514 (patch)
tree4ef2d2c38937ba204e2426f0c553b999acd496b7 /network.py
parentda459689b78a80108916f58ea467db55026b14a1 (diff)
downloadanaconda-abba5cc3776ca767c7ac848e854d3941e4efe514.tar.gz
anaconda-abba5cc3776ca767c7ac848e854d3941e4efe514.tar.xz
anaconda-abba5cc3776ca767c7ac848e854d3941e4efe514.zip
Fix test for an empty hostname.
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index 1a36ffd09..3a7010d9d 100644
--- a/network.py
+++ b/network.py
@@ -99,7 +99,7 @@ def getDefaultHostname(anaconda):
else:
hn = hostname
- if hn is not None:
+ if hn:
return hn
# NetworkManager didn't give us a hostname, try to find it another way