jenkins-bot submitted this change.

View Change


Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
decrease logging for generator wrapping

no need to show this to end users

Change-Id: I78da6a28a344a7d8d764ff7fd820d80ba7ff4a0d
---
M pywikibot/bot.py
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 95dee26..26559a9 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -1679,8 +1679,8 @@
.format(self.__class__.__name__))
if not isinstance(self.generator, Generator):
# to provide close() method
- pywikibot.info('wrapping {} type to a Generator type'
- .format(type(self.generator).__name__))
+ pywikibot.debug('wrapping {} type to a Generator type'
+ .format(type(self.generator).__name__))
self.generator = (item for item in self.generator)
try:
for item in self.generator:

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I78da6a28a344a7d8d764ff7fd820d80ba7ff4a0d
Gerrit-Change-Number: 884428
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged