jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785181 )
Change subject: retry for internal_api_error_DBQueryTimeoutError errors ......................................................................
retry for internal_api_error_DBQueryTimeoutError errors
T297708 changed some DBQueryError to DBQueryTimeoutError
Change-Id: Idb19d43d1ba5b2a95ab3dc441b4755dc802916fc --- M pywikibot/data/api.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index cc1183b..3e279c8 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1691,6 +1691,7 @@ # TODO: T154011: 'ReadOnlyError' seems replaced by 'readonly' retry = class_name in ['DBConnectionError', # T64974 'DBQueryError', # T60158 + 'DBQueryTimeoutError', # T297708 'ReadOnlyError', # T61227 'readonly', # T154011 ]
pywikibot-commits@lists.wikimedia.org