mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +00:00
perf: Remove siz.moves.configparser from the import tree
This commit is contained in:
parent
8527b106c3
commit
6c0e1a359e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user