audit update
This commit is contained in:
parent
2a96ea7245
commit
705965a17c
|
@ -628,7 +628,7 @@ def push_blocklist(token: str, host: str, blocklist: list[DomainBlock],
|
||||||
# stamp this record with a private comment, since we're the ones adding it
|
# stamp this record with a private comment, since we're the ones adding it
|
||||||
if override_private_comment:
|
if override_private_comment:
|
||||||
newblock.private_comment = override_private_comment
|
newblock.private_comment = override_private_comment
|
||||||
|
|
||||||
# This is a new block for the target instance, so we
|
# This is a new block for the target instance, so we
|
||||||
# need to add a block rather than update an existing one
|
# need to add a block rather than update an existing one
|
||||||
log.info(f"Adding new block: {newblock}...")
|
log.info(f"Adding new block: {newblock}...")
|
||||||
|
@ -643,6 +643,9 @@ def push_blocklist(token: str, host: str, blocklist: list[DomainBlock],
|
||||||
else:
|
else:
|
||||||
log.info("Dry run selected. Not adding block.")
|
log.info("Dry run selected. Not adding block.")
|
||||||
|
|
||||||
|
for block in serverblocks:
|
||||||
|
log.debug(f"Checking block: {block}")
|
||||||
|
|
||||||
def load_config(configfile: str):
|
def load_config(configfile: str):
|
||||||
"""Augment commandline arguments with config file parameters
|
"""Augment commandline arguments with config file parameters
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue