From bbad7ee2e71e3202a7f77d4ee0343f386e56b3cf Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Thu, 23 Aug 2018 19:15:55 -0500 Subject: [PATCH] Fix order of operations between loading a file and logging it --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 25b94d4..ab6bc13 100755 --- a/hblink.py +++ b/hblink.py @@ -100,8 +100,8 @@ def hblink_handler(_signal, _frame, _logger): def build_acl(_reg_acl): ACL = set() try: - logger.info('Registration ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs') acl_file = import_module(_reg_acl) + logger.info('Registration ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs') sections = acl_file.ACL.split(':') ACL_ACTION = sections[0] entries_str = sections[1]