jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/674553 )

Change subject: [cleanup] remove deprecates Throttle.lastwait property
......................................................................

[cleanup] remove deprecates Throttle.lastwait property

lastwait is deprecated for 3 years and FutureWarning is thrown with 4.1.0

Change-Id: Ide774aceee499cefd34b8e0cdfac0388e2c0c51f
---
M pywikibot/throttle.py
1 file changed, 1 insertion(+), 8 deletions(-)

Approvals:
  Dalba: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/throttle.py b/pywikibot/throttle.py
index 7b65633..1b50a10 100644
--- a/pywikibot/throttle.py
+++ b/pywikibot/throttle.py
@@ -1,6 +1,6 @@
 """Mechanics to slow down wiki read and/or write rate."""
 #
-# (C) Pywikibot team, 2008-2020
+# (C) Pywikibot team, 2008-2021
 #
 # Distributed under the terms of the MIT license.
 #
@@ -14,7 +14,6 @@

 import pywikibot
 from pywikibot import config
-from pywikibot.tools import deprecated

 _logger = 'wiki.throttle'

@@ -76,12 +75,6 @@
             self.checkMultiplicity()
         self.setDelays()

-    @property
-    @deprecated(since='20180423', future_warning=True)
-    def lastwait(self):
-        """DEPRECATED property."""
-        return 0.0
-
     def _read_file(self, raise_exc=False):
         """Yield process entries from file."""
         try:

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/674553
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ide774aceee499cefd34b8e0cdfac0388e2c0c51f
Gerrit-Change-Number: 674553
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Dalba <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to