mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Minor pep8 cleanup
This commit is contained in:
parent
29bff3ffc1
commit
a6d62ef59b
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class Host(object):
|
||||||
aliases = ''
|
aliases = ''
|
||||||
if self.aliases:
|
if self.aliases:
|
||||||
aliases = self.aliases.replace(',',' ')
|
aliases = self.aliases.replace(',',' ')
|
||||||
host_entry = self.ip + " " + self.hostname + " " + aliases + "\n"
|
host_entry = self.ip + " " + self.hostname + " " + aliases + "\n"
|
||||||
if self.entry_exists():
|
if self.entry_exists():
|
||||||
self._hostsfile_lines[self._found_on_line] = host_entry
|
self._hostsfile_lines[self._found_on_line] = host_entry
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue