Added more debug information 2

This commit is contained in:
Frisk 2021-05-03 13:38:18 +02:00
parent ecaa2496dd
commit 75dafb2337
No known key found for this signature in database
GPG key ID: 213F7C15068AF8AC

View file

@ -197,9 +197,10 @@ class Wiki(object):
if highest_id is None or change["rcid"] > highest_id:
highest_id = change["rcid"]
if not dry_run:
logger.debug(f"Currently considering whether IDs in newest batch are lower than {recent_id}.")
for change in changes:
if change["rcid"] <= recent_id:
logger.debug("Change ({}) is lower or equal to recent_id {}".format(change["rcid"], recent_id))
#logger.debug("Change ({}) is lower or equal to recent_id {}".format(change["rcid"], recent_id))
continue
logger.debug(recent_id)
self.rc_processor(change, categorize_events.get(change.get("revid"), None))