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

--
To view, visit https://gerrit.wikimedia.org/r/463444
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/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 <[email protected]>
Gerrit-Reviewer: Dalba <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to