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

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I28435df24ef9faff929aceb2095e9fd97c66e33d
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to