summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-07-08 22:25:12 -0700
committerScott Gasch <[email protected]>2021-07-08 22:25:12 -0700
commit11eeb8574b7b4620ac6fd440cb251f8aa2458f5b (patch)
tree97f8e64eddd4528b01af58df269427814b889929 /config.py
parente516059c716537259c601c022cc3bad44025385e (diff)
Reduce import scopes, remove cycles.
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 2 insertions, 2 deletions
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: