Build Update for wikimedia/pywikibot-core -------------------------------------
Build: #3841 Status: Errored
Duration: 47 minutes and 7 seconds Commit: 8a8d7c2 (master) Author: zhuyifei1999 Message: checkimages.py: Prevent TypeError when self.num_notify is None
When the max notification is not set, self.num_notify will be None instead of defaultdict, and attempting to reduce the value of an element will result in: TypeError: 'NoneType' object has no attribute '__getitem__' We check if self.num_notify is not None earlier in order to prevent this exception.
The logic of checking if the counter has ran out has also been changed from `not value` to `value == 0` for clarity.
Follow up for I9e25b35d42af3c73c581c6d05a6a4a8dc8ef62c6
Bug: T157728 Change-Id: I7d5966c52dff4b342942abe030295f3e3c1f422f
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/3fe50790a031...8a8d7c2c2...
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/200929360
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
pywikibot-commits@lists.wikimedia.org