From 946d64cd739e03de7156cef6248e7fb6ffeb81bb Mon Sep 17 00:00:00 2001 From: yzqzss <30341059+yzqzss@users.noreply.github.com> Date: Sat, 20 Apr 2024 18:26:16 +0800 Subject: [PATCH] chore: typo Co-authored-by: winstonsung --- wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py b/wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py index ad88f509..8285e12f 100644 --- a/wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py +++ b/wikiteam3/dumpgenerator/dump/page/xmlrev/xml_revisions.py @@ -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 " in the xmldump)' + '(wikiteam3 would mark the revision as " in the xmldump)' ) arv_params["arvprop"] = ARV_PROP.replace('|content', '') Delay(config=config) @@ -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") \ No newline at end of file + raise NotImplementedError("Unable to solve the infinite loop automatically")