jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/459366 )
Change subject: [bugfix] fix deprecated parameters ......................................................................
[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(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
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