jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1296567?usp=email )

Change subject: [bugfix] Fix spelling issues in bot.py
......................................................................

[bugfix] Fix spelling issues in bot.py

Change-Id: I74f91b215f9562d16b17f3af9d37a24f94a97c6e
Signed-off-by: Xqt <[email protected]>
---
M pywikibot/bot.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 548ea3f..f873950 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -1204,7 +1204,7 @@
         To check for an empty generator you may use::

             if self.generator_completed and not self.counter['read']:
-                print('generator was emtpty')
+                print('generator was empty')

         .. note:: An empty generator returns True.
         .. version-added:: 3.0
@@ -1518,7 +1518,7 @@
                if not hasattr(self, 'generator'):
                    raise NotImplementedError('"generator" not set.')

-               if self.generator is None;
+               if self.generator is None:
                    print('No generator was defined')

                try:

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1296567?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I74f91b215f9562d16b17f3af9d37a24f94a97c6e
Gerrit-Change-Number: 1296567
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to