fix logging buglet ii

This commit is contained in:
Barbara Miller 2021-12-29 11:55:39 -08:00
parent 5d8fbf7038
commit bc3d1e6d00

View File

@ -437,8 +437,8 @@ class BatchTroughLoader(warcprox.BaseBatchPostfetchProcessor):
else: else:
if hash_plus_url in hash_plus_urls: if hash_plus_url in hash_plus_urls:
self.logger.debug( self.logger.debug(
'discarding duplicate and setting do_not_archive for %s, hash %s'.format( 'discarding duplicate and setting do_not_archive for
recorded_url.url, payload_hash)) %s, hash %s', recorded_url.url, payload_hash)
recorded_url.do_not_archive = True recorded_url.do_not_archive = True
discards.append(payload_hash) discards.append(payload_hash)
self.logger.debug( self.logger.debug(