Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
Co-authored-by: winstonsung <[email protected]>
  • Loading branch information
yzqzss and winstonsung committed Apr 20, 2024
1 parent a8bba92 commit 946d64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def getXMLRevisionsByAllRevisions(config: Config, session: requests.Session, sit
log_error(config=config, to_stdout=True,
text=f"ERROR: API returned MWUnknownContentModelException on arvcontinue={arv_params.get('arvcontinue', '')}, " +
"retried with arvlimit=1 and still failed. retrying without arvprop=content. " +
'(wikiteam3 would mark the revision as "<text deleted="deletetd"> in the xmldump)'
'(wikiteam3 would mark the revision as "<text deleted="deleted"> in the xmldump)'
)
arv_params["arvprop"] = ARV_PROP.replace('|content', '')
Delay(config=config)
Expand Down Expand Up @@ -498,4 +498,4 @@ def handle_infinite_loop(allrevs_response: Dict, arv_params: Dict, config: Confi
f"skipped this revision to avoid infinite loop")
return allrevs_response_new
else:
raise NotImplementedError("Unable to solve the infinite loop automatically")
raise NotImplementedError("Unable to solve the infinite loop automatically")

0 comments on commit 946d64c

Please sign in to comment.