jenkins-bot merged this change.
[cleanup] Remove unimplemented option
-overwrite option is not implemented yet.
Task T220305 is created for this feature.
Change-Id: I61cbaa0fb1084fd25e5b613c7a7de043fbb0a47c
---
M scripts/create_categories.py
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/scripts/create_categories.py b/scripts/create_categories.py
index 3111b86..e2dbb25 100755
--- a/scripts/create_categories.py
+++ b/scripts/create_categories.py
@@ -10,8 +10,6 @@
-always Don't ask, just do the edit.
--overwrite (not implemented yet).
-
-parent The name of the parent category.
-basename The base to be used for the new category names.
@@ -32,8 +30,8 @@
"""
#
# (C) Multichill, 2011
-# (C) xqt, 2011-2018
-# (c) Pywikibot team, 2013-2018
+# (C) xqt, 2011-2019
+# (c) Pywikibot team, 2013-2019
#
# Distributed under the terms of the MIT license.
#
@@ -71,7 +69,6 @@
ignore_save_related_errors=True,
ignore_server_errors=True)
else:
- # FIXME: Add overwrite option
pywikibot.output('{} already exists, skipping'
.format(newpage.title()))
To view, visit change 501894. To unsubscribe, or for help writing mail filters, visit settings.