jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/463444 )
Change subject: [cleanup] remove print statements in harvest_template.py ......................................................................
[cleanup] remove print statements in harvest_template.py
Change-Id: Ibb904858c2c0e33a4c0ea25051b424c3a35b648e --- M scripts/harvest_template.py M tox.ini 2 files changed, 3 insertions(+), 3 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/harvest_template.py b/scripts/harvest_template.py index 6ee8563..6c6fd07 100755 --- a/scripts/harvest_template.py +++ b/scripts/harvest_template.py @@ -98,8 +98,8 @@ global willstop if not willstop: willstop = True - print('Received ctrl-c. Finishing current item; ' - 'press ctrl-c again to abort.') + pywikibot.output('Received ctrl-c. Finishing current item; ' + 'press ctrl-c again to abort.') else: raise KeyboardInterrupt
diff --git a/tox.ini b/tox.ini index 996fea9..dd3972e 100644 --- a/tox.ini +++ b/tox.ini @@ -205,7 +205,7 @@ scripts/fixing_redirects.py : N803, N806 scripts/flickrripper.py : T001, N803, N806, N802 scripts/freebasemappingupload.py: N802 - scripts/harvest_template.py : T001, N802 + scripts/harvest_template.py : N802 scripts/imagecopy.py : N801, N803, N806, N802 scripts/imagecopy_self.py : N801, N803, N806, N802 scripts/imagerecat.py : N803, N806, N802
pywikibot-commits@lists.wikimedia.org