jenkins-bot has submitted this change and it was merged.
Change subject: Bug 69889-unexpected keyword argument 'site' while moving category ......................................................................
Bug 69889-unexpected keyword argument 'site' while moving category
Removed invalid 'site' keyword used when Category() is instantiated in Page.change_category().
Change-Id: I184b97000c9ce6626f17f176a68772fd90b908f5 --- M pywikibot/page.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 8c7afe8..14c5682 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -1705,8 +1705,7 @@ else: if newCat: cats[cats.index(oldCat)] = Category(site, newCat.title(), - sortKey=sortKey, - site=self.site) + sortKey=sortKey) else: cats.pop(cats.index(oldCat)) oldtext = self.get(get_redirect=True)
pywikibot-commits@lists.wikimedia.org