AbdealiJK added a comment.
This seems to happen because the kwarg uses:
gen = RandomPageGenerator(total=intNone(value), site=self.site,
namespaces=namespaces)
and the default value of 10 is given in the function like:
def RandomPageGenerator(total=10, site=None, namespaces=None):
Hence, the value of `total` is set to None if it is not given. It should
actually be set to 10.
TASK DETAIL
https://phabricator.wikimedia.org/T134838
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: AbdealiJK
Cc: Aklapper, Zppix, pywikibot-bugs-list, AbdealiJK, Mdupont, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs