jenkins-bot has submitted this change and it was merged.
Change subject: Remove unused APISite.sitelock ......................................................................
Remove unused APISite.sitelock
There's still a lock in BaseSite, but this gets us closer to being able to pickle Pages.
Bug: 62094 Change-Id: I28435df24ef9faff929aceb2095e9fd97c66e33d --- M pywikibot/site.py 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site.py b/pywikibot/site.py index c020774..804fd0a 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -631,7 +631,6 @@ if self.family.versionnumber(self.code) >= 14: self._namespaces[6] = [u"File"] self._namespaces[7] = [u"File talk"] - self.sitelock = threading.Lock() self._msgcache = {} self._loginstatus = LoginStatus.NOT_ATTEMPTED return
pywikibot-commits@lists.wikimedia.org