jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/675988 )

Change subject: [bugfix] Fix isDone() method
......................................................................

[bugfix] Fix isDone() method

Change-Id: Ifa368f65ccee3320697892b9f41f9db5454150fc
---
M scripts/interwiki.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/scripts/interwiki.py b/scripts/interwiki.py
index 0096eab..684e2fd 100755
--- a/scripts/interwiki.py
+++ b/scripts/interwiki.py
@@ -2123,7 +2123,7 @@

     def isDone(self):
         """Check whether there is still more work to do."""
-        return self and self.pageGenerator is None
+        return not self and self.pageGenerator is None

     def plus(self, site, count=1):
         """Helper routine that the Subject class expects in a counter."""

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ifa368f65ccee3320697892b9f41f9db5454150fc
Gerrit-Change-Number: 675988
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to