jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/467910 )
Change subject: [cleanup] remove hidden code parts ......................................................................
[cleanup] remove hidden code parts
detached from I4ef9009c91e485509e4ae05a04404b3c06a5331c
Change-Id: I4026292aff74fc1dafcc198c3b11219d9700f6f1 --- M scripts/patrol.py 1 file changed, 0 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Dalba: Looks good to me, approved
diff --git a/scripts/patrol.py b/scripts/patrol.py index e72e7ad..a365f1c 100755 --- a/scripts/patrol.py +++ b/scripts/patrol.py @@ -226,9 +226,6 @@ page = prefix verbose_output('Whitelist prefixindex hack for: ' + page) - # p = pywikibot.Page(self.site, obj.target[20:]) - # obj.namespace = p.namespace - # obj.target = p.title()
elif obj.namespace == 2 and not current_user: # if a target user hasn't been found yet, and the link is