mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
xmpp: Minor identation fixes
This commit is contained in:
parent
19a6e24685
commit
35d3244636
@ -225,6 +225,7 @@ def subcommand_change_domainname(arguments):
|
|||||||
if in_hosts:
|
if in_hosts:
|
||||||
if re.match(r'\s*-\s*', line):
|
if re.match(r'\s*-\s*', line):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
in_hosts = False
|
in_hosts = False
|
||||||
|
|
||||||
conffile.write(line)
|
conffile.write(line)
|
||||||
|
|||||||
@ -39,6 +39,7 @@ def get_domainname():
|
|||||||
fqdn = socket.getfqdn()
|
fqdn = socket.getfqdn()
|
||||||
return '.'.join(fqdn.split('.')[1:])
|
return '.'.join(fqdn.split('.')[1:])
|
||||||
|
|
||||||
|
|
||||||
def before_install():
|
def before_install():
|
||||||
"""Preseed debconf values before the packages are installed."""
|
"""Preseed debconf values before the packages are installed."""
|
||||||
domainname = get_domainname()
|
domainname = get_domainname()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user