jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/637595 )
Change subject: [bugfix] Fix Subject.isDone() ......................................................................
[bugfix] Fix Subject.isDone()
Change-Id: I88078923a58aac75d5e632d2b99e317d2cceab6e --- 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 f91203b..6cf62dd 100755 --- a/scripts/interwiki.py +++ b/scripts/interwiki.py @@ -1352,7 +1352,7 @@
def isDone(self): """Return True if all the work for this subject has completed.""" - return bool(self.todo) + return len(self.todo) == 0
def problem(self, txt, createneed=True): """Report a problem with the resolution of this subject."""
pywikibot-commits@lists.wikimedia.org