diff options
author | Chris Lumens <clumens@redhat.com> | 2008-09-29 12:59:32 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-09-29 12:59:32 -0400 |
commit | abba5cc3776ca767c7ac848e854d3941e4efe514 (patch) | |
tree | 4ef2d2c38937ba204e2426f0c553b999acd496b7 /network.py | |
parent | da459689b78a80108916f58ea467db55026b14a1 (diff) | |
download | anaconda-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.py | 2 |
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 |