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. --- bootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap.py') diff --git a/bootstrap.py b/bootstrap.py index 0d37dcb..94c8e9c 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -9,7 +9,6 @@ import traceback import argparse_utils import config -import logging_utils logger = logging.getLogger(__name__) @@ -41,6 +40,8 @@ def handle_uncaught_exception( def initialize(funct): + import logging_utils + """Remember to initialize config and logging before running main.""" @functools.wraps(funct) def initialize_wrapper(*args, **kwargs): -- cgit v1.3