XZise has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/155512

Change subject: [FIX] Allow instantiation of CategoryRemoveRobot
......................................................................

[FIX] Allow instantiation of CategoryRemoveRobot

Bug: 69829
Change-Id: Ie672fcfd514aeca08b13c3b6cc04260adef5a8b1
---
M scripts/category.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/12/155512/1

diff --git a/scripts/category.py b/scripts/category.py
index 82edeb6..81b7ee2 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -676,7 +676,7 @@
     def __init__(self, catTitle, batchMode=False, editSummary='',
                  
useSummaryForDeletion=CategoryMoveRobot.DELETION_COMMENT_AUTOMATIC,
                  titleRegex=None, inPlace=False, pagesonly=False):
-        CategoryMoveRobot.__init__(
+        super(CategoryRemoveRobot, self).__init__(
             oldcat=catTitle,
             batch=batchMode,
             comment=editSummary,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie672fcfd514aeca08b13c3b6cc04260adef5a8b1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>

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

Reply via email to