xmpp: Minor identation fixes

This commit is contained in:
Sunil Mohan Adapa 2015-09-01 22:41:53 +05:30
parent 19a6e24685
commit 35d3244636
2 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,7 @@ def subcommand_change_domainname(arguments):
if in_hosts:
if re.match(r'\s*-\s*', line):
continue
in_hosts = False
conffile.write(line)

View File

@ -39,6 +39,7 @@ def get_domainname():
fqdn = socket.getfqdn()
return '.'.join(fqdn.split('.')[1:])
def before_install():
"""Preseed debconf values before the packages are installed."""
domainname = get_domainname()