jenkins-bot has submitted this change and it was merged. Change subject: site.py: fix intersection of sets of namespaces ......................................................................
site.py: fix intersection of sets of namespaces Bug: T114563 Change-Id: I6c8ce15dffdabe11a49f51d45b04574d8af94f44 --- M pywikibot/site.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/site.py b/pywikibot/site.py index 2d5bfc0..25dedf7 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -3539,7 +3539,7 @@ excluded_namespaces.add(14) if namespaces: - if excluded_namespaces.intersect(namespaces): + if excluded_namespaces.intersection(namespaces): raise ValueError( 'incompatible namespaces %r and member_type %r' % (namespaces, member_type)) -- To view, visit https://gerrit.wikimedia.org/r/243474 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6c8ce15dffdabe11a49f51d45b04574d8af94f44 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Mpaa <mpaa.w...@gmail.com> Gerrit-Reviewer: John Vandenberg <jay...@gmail.com> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ Pywikibot-commits mailing list Pywikibot-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits