logger.debug("blocker='%s',blocked='%s',reason='%s',block_level='%s' - CALLED!", blocker, blocked, reason, block_level)
domain_helper.raise_on(blocker)
domain_helper.raise_on(blocked)
- procesed = False
+ added = False
if not isinstance(reason, str) and reason is not None:
raise ValueError(f"Parameter reason[]='{type(reason)}' is not of type 'str'")
elif not isinstance(block_level, str):
blocks.update_last_seen(blocker, blocked, block_level)
logger.debug("added='%s' - EXIT!", added)
- return procesed
+ return added
\ No newline at end of file