Fix order of operations between loading a file and logging it
This commit is contained in:
parent
d9dd1881ad
commit
bbad7ee2e7
@ -100,8 +100,8 @@ def hblink_handler(_signal, _frame, _logger):
|
|||||||
def build_acl(_reg_acl):
|
def build_acl(_reg_acl):
|
||||||
ACL = set()
|
ACL = set()
|
||||||
try:
|
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)
|
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(':')
|
sections = acl_file.ACL.split(':')
|
||||||
ACL_ACTION = sections[0]
|
ACL_ACTION = sections[0]
|
||||||
entries_str = sections[1]
|
entries_str = sections[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user