logger.debug("Checking %d blockdict records ...", len(blockdict))
for block in blockdict:
- logger.debug("block[blocker]='%s',blocker='%s'", block['blocker'], blocker)
+ logger.debug("block[blocked]='%s',blocked='%s'", block['blocked'], blocked)
if block['blocked'] == blocked:
logger.debug("Updating reason='%s' for blocker='%s'", reason, block['blocked'])
block['reason'] = reason
logger.debug("Checking %d blockdict records ...", len(blockdict))
for block in blockdict:
- logger.debug("block[blocker]='%s',blocker='%s'", block['blocker'], blocker)
+ logger.debug("block[blocked]='%s',blocked='%s'", block['blocked'], blocked)
if block['blocked'] == blocked:
logger.debug("Updating reason='%s' for blocker='%s'", reason, block['blocked'])
block['reason'] = reason