jenkins-bot has submitted this change and it was merged.
Change subject: pagegenerators.py: pyflakes fixes ......................................................................
pagegenerators.py: pyflakes fixes
- 'time' imported but unused - remove redefinition of unused 'date'
Change-Id: I71937e4ef2cbc0cf579ed7b530f9d6fb52f9dc34 --- M pywikibot/pagegenerators.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index e69ef05..025c732 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -23,7 +23,6 @@ import codecs import itertools import re -import time import pywikibot from pywikibot import date from pywikibot import config @@ -1123,7 +1122,7 @@ def AncientPagesPageGenerator(total=100, site=None): if site is None: site = pywikibot.Site() - for page, date in site.ancientpages(total=total): + for page, timestamp in site.ancientpages(total=total): yield page
pywikibot-commits@lists.wikimedia.org