This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git
The following commit(s) were added to refs/heads/master by this push: new 3f2e125 this should use kibble's pprinter 3f2e125 is described below commit 3f2e12526b987e7cc8d3c7976cbba3fe411381f6 Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Wed Feb 21 20:26:06 2018 +0100 this should use kibble's pprinter --- src/plugins/scanners/travis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/scanners/travis.py b/src/plugins/scanners/travis.py index 628b90e..eb16958 100644 --- a/src/plugins/scanners/travis.py +++ b/src/plugins/scanners/travis.py @@ -57,7 +57,7 @@ def scanJob(KibbleBit, source, bid, token, TLD): # For as long as pagination makes sense... while last_page == False: bURL = "https://api.travis-ci.%s/repo/%s/builds?limit=100&offset=%u" % (TLD, bid, offset) - print("Scanning %s" % bURL) + KibbleBit.pprint("Scanning %s" % bURL) rv = requests.get(bURL, headers = {'Travis-API-Version': '3', 'Authorization': "token %s" % token}) if rv.status_code == 200: repojs = rv.json() @@ -66,7 +66,7 @@ def scanJob(KibbleBit, source, bid, token, TLD): KibbleBit.pprint("Assuming this is the last page we need (travis says so)") last_page = True - print("%s has %u builds done" % (bURL, repojs['@pagination']['count'])) + KibbleBit.pprint("%s has %u builds done" % (bURL, repojs['@pagination']['count'])) # BREAKER: If we go past count somehow, and travis doesn't say so, bork anyway if repojs['@pagination']['count'] < offset: -- To stop receiving notification emails like this one, please contact humbed...@apache.org.