jenkins-bot merged this change.
[IMPR] use pywikibot_handle_args instead of deprecated handleArgs
Change-Id: I987c6eb89891b707ccb8e1360d75e77663f5fda7
---
M scripts/maintenance/compat2core.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/maintenance/compat2core.py b/scripts/maintenance/compat2core.py
index 4ae4e2c..5198780 100755
--- a/scripts/maintenance/compat2core.py
+++ b/scripts/maintenance/compat2core.py
@@ -206,7 +206,7 @@
warnonly = False
# Parse command line arguments for -help option
- for arg in pywikibot.handleArgs():
+ for arg in pywikibot.handle_args():
if arg.startswith('-warnonly'):
warnonly = True
elif not arg.startswith('-'):
To view, visit change 481337. To unsubscribe, or for help writing mail filters, visit settings.