1
0
Fork 0
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:
James Cammarata 2013-09-23 16:37:42 -05:00
parent 29bff3ffc1
commit a6d62ef59b

View file

@ -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: