jenkins-bot merged this change.
[bugfix] fix deprecated parameters
fix deprecated parameter "showPatrolled"
in APISite.newpages and APISite.recentpages
Bug: T203878
Change-Id: I07a441c13cbf5c529cfaeb78cd5f3a2229729869
---
M scripts/patrol.py
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/scripts/patrol.py b/scripts/patrol.py
index 7ef328f..3f60734 100755
--- a/scripts/patrol.py
+++ b/scripts/patrol.py
@@ -442,11 +442,10 @@
"""Generator which loads pages details to be processed."""
while True:
if recent_new_gen:
- generator = gen(namespaces=namespaces, user=user,
- showPatrolled=False)
+ generator = gen(namespaces=namespaces, user=user, patrolled=False)
else:
generator = gen(namespaces=namespaces, user=user,
- returndict=True, showPatrolled=False)
+ returndict=True, patrolled=False)
for page in generator:
if recent_new_gen:
yield page
To view, visit change 459366. To unsubscribe, or for help writing mail filters, visit settings.