From f3ac4e939740908389cdec9dff41843e8dd2ab41 Mon Sep 17 00:00:00 2001 From: Dennis Hoppe Date: Tue, 16 Jun 2020 15:45:11 +0200 Subject: [PATCH] Remove unused variables --- core/dovecot/start.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/dovecot/start.py b/core/dovecot/start.py index 559baf6e..1845eb93 100755 --- a/core/dovecot/start.py +++ b/core/dovecot/start.py @@ -21,13 +21,9 @@ def start_podop(): ]) # Actual startup script - os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front") -os.environ["REDIS_ADDRESS"] = system.get_host_address_from_environment("REDIS", "redis") os.environ["ADMIN_ADDRESS"] = system.get_host_address_from_environment("ADMIN", "admin") os.environ["ANTISPAM_WEBUI_ADDRESS"] = system.get_host_address_from_environment("ANTISPAM_WEBUI", "antispam:11334") -if os.environ["WEBMAIL"] != "none": - os.environ["WEBMAIL_ADDRESS"] = system.get_host_address_from_environment("WEBMAIL", "webmail") for dovecot_file in glob.glob("/conf/*.conf"): conf.jinja(dovecot_file, os.environ, os.path.join("/etc/dovecot", os.path.basename(dovecot_file)))