jenkins-bot has submitted this change and it was merged.
Change subject: pep8-ify pagegenerators.py ......................................................................
pep8-ify pagegenerators.py
Change-Id: I20d025b8fc140da78b8c09178d7956862dca4340 --- M pywikibot/pagegenerators.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index ea42f05..b86ad3c 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -964,6 +964,7 @@ for page in site.randompages(total=number): yield page
+ def RandomRedirectPageGenerator(number=10, site=None): if site is None: site = pywikibot.Site()