blockdict = list()
- logger.info("Processing %d rows ...", len(reader))
cnt = 0
for row in reader:
logger.debug("row[%s]='%s'", type(row), row)
if reject_reports:
utils.process_block(block["blocker"], domain, None, "reject_reports")
- logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", block["blocker"], cnt)
- instances.set_total_blocks(block["blocker"], cnt)
+ logger.debug("Invoking instances.set_total_blocks(%s, domains()=%d) ...", block["blocker"], len(domains))
+ instances.set_total_blocks(block["blocker"], domains)
logger.debug("Checking if blocker='%s' has pending updates ...", block["blocker"])
if instances.has_pending(block["blocker"]):