From 11eeb8574b7b4620ac6fd440cb251f8aa2458f5b Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 8 Jul 2021 22:25:12 -0700 Subject: Reduce import scopes, remove cycles. --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 9b4a53d..58a5e83 100644 --- a/config.py +++ b/config.py @@ -71,8 +71,6 @@ import re import sys from typing import Any, Dict, List -import string_utils - # Note: at this point in time, logging hasn't been configured and # anything we log will come out the root logger. @@ -155,6 +153,8 @@ def is_flag_already_in_argv(var: str): def parse() -> Dict[str, Any]: + import string_utils + """Main program should call this early in main()""" global config_parse_called if config_parse_called: -- cgit v1.3