projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACL uses enums, some more tests, other stuff.
[python_utils.git]
/
config.py
diff --git
a/config.py
b/config.py
index 9b4a53d120f8c4c5ee73f393f8080bb1f456e137..e7094f3a5ba6d6c4646a579d2e5e1e47cc8e330a 100644
(file)
--- a/
config.py
+++ b/
config.py
@@
-71,7
+71,8
@@
import re
import sys
from typing import Any, Dict, List
import sys
from typing import Any, Dict, List
-import string_utils
+# This module is commonly used by others in here and should avoid
+# taking any unnecessary dependencies back on them.
# Note: at this point in time, logging hasn't been configured and
# anything we log will come out the root logger.
# Note: at this point in time, logging hasn't been configured and
# anything we log will come out the root logger.
@@
-155,6
+156,8
@@
def is_flag_already_in_argv(var: str):
def parse() -> Dict[str, Any]:
def parse() -> Dict[str, Any]:
+ import string_utils
+
"""Main program should call this early in main()"""
global config_parse_called
if config_parse_called:
"""Main program should call this early in main()"""
global config_parse_called
if config_parse_called: