jenkins-bot merged this change.

View Change

Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
[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(-)

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

To view, visit change 463444. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb904858c2c0e33a4c0ea25051b424c3a35b648e
Gerrit-Change-Number: 463444
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)