jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] corrected a missing argument ......................................................................
[bugfix] corrected a missing argument
corrected a missing argument in issue_deprecation_warning call
Detached from Correction branch
Change-Id: Ic0180b5beed87c8dc6bc35103a3e0a541f980dfe --- M pywikibot/site.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site.py b/pywikibot/site.py index a6b96a4..2800514 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -6816,7 +6816,7 @@ def _get_baserevid(self, claim, baserevid): """Check that claim.on_item is set and matches baserevid if used.""" if not claim.on_item: - issue_deprecation_warning('claim without on_item set', 3) + issue_deprecation_warning('claim without on_item set', None, 3) if not baserevid: warn('Neither claim.on_item nor baserevid provided', UserWarning, 3)
pywikibot-commits@lists.wikimedia.org