jenkins-bot has submitted this change and it was merged.
Change subject: Remove print statement ......................................................................
Remove print statement
Change-Id: Ib9b14364539e320adc2cff37081952954ea8f03e --- M pywikibot/pagegenerators.py 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index baccca5..6e831e2 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -1053,10 +1053,9 @@ link = '%s&%s&max=%d&order=img_timestamp' % (URL, wiki, limit) results = re.findall(REGEXP, http.request(site=None, uri=link)) if not results: - print link raise pywikibot.Error( - 'Nothing found! Try to use the tool by yourself to be sure that it ' - 'works!') + 'Nothing found at %s! Try to use the tool by yourself to be sure that it ' + 'works!' % link) else: for result in results: yield pywikibot.Page(pywikibot.getSite(), result)
pywikibot-commits@lists.wikimedia.org