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)

-- 
To view, visit https://gerrit.wikimedia.org/r/284641
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic0180b5beed87c8dc6bc35103a3e0a541f980dfe
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Andre Engels <andreeng...@gmail.com>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to