diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-10-11 19:33:51 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-10-11 19:33:51 +0000 |
commit | 0d4d54a55afa5ee0c99cd9eeb6c3bf390b9480b1 (patch) | |
tree | 154f90d476376541a139c42d829c1cead372519b /network.py | |
parent | 942434ae266d4e5ad8079fb261a8588833f754ac (diff) | |
download | anaconda-0d4d54a55afa5ee0c99cd9eeb6c3bf390b9480b1.tar.gz anaconda-0d4d54a55afa5ee0c99cd9eeb6c3bf390b9480b1.tar.xz anaconda-0d4d54a55afa5ee0c99cd9eeb6c3bf390b9480b1.zip |
2007-10-11 Jeremy Katz <katzj@redhat.com>
* network.py (Network.write): Fix spaces between host names
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network.py b/network.py index 4055788b6..ef530b15a 100644 --- a/network.py +++ b/network.py @@ -492,9 +492,9 @@ class Network: # If the hostname is not resolvable, tie it to 127.0.0.1 if not ip and self.hostname != "localhost.localdomain": - localline += self.hostname + localline += self.hostname + " " if len(l) > 1: - localline += " " + l[0] + " " + localline += l[0] + " " # always add the short hostname to 127.0.0.1 (#253979) localline += "localhost.localdomain localhost" |