From 6c0e1a359ebd19bd3833c3e9d7c5d1ef8948419d Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Sun, 21 Feb 2021 10:03:03 +0530 Subject: [PATCH] perf: Remove siz.moves.configparser from the import tree --- bench/config/supervisor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/config/supervisor.py b/bench/config/supervisor.py index 8a3d07fa..b2f26d67 100644 --- a/bench/config/supervisor.py +++ b/bench/config/supervisor.py @@ -11,7 +11,6 @@ from bench.config.common_site_config import get_config, update_config, get_gunic # imports - third party imports import click -from six.moves import configparser logger = logging.getLogger(bench.PROJECT_NAME) @@ -68,6 +67,8 @@ def get_supervisord_conf(): def update_supervisord_config(user=None, yes=False): """From bench v5.x, we're moving to supervisor running as user""" + from six.moves import configparser + from bench.config.production_setup import service if not user: