Merge pull request #166 from galgeek/WT-31

fix logging buglet
This commit is contained in:
Barbara Miller 2021-12-29 11:04:03 -08:00 committed by GitHub
commit 6b372e2f3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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