From 35d32446363ea19a404adf695799cab56ac8d1f3 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 1 Sep 2015 22:41:53 +0530 Subject: [PATCH] xmpp: Minor identation fixes --- actions/xmpp | 1 + plinth/modules/xmpp/views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/actions/xmpp b/actions/xmpp index a1b651992..b206d04c8 100755 --- a/actions/xmpp +++ b/actions/xmpp @@ -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) diff --git a/plinth/modules/xmpp/views.py b/plinth/modules/xmpp/views.py index c96eb7f2a..896e1e853 100644 --- a/plinth/modules/xmpp/views.py +++ b/plinth/modules/xmpp/views.py @@ -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()