jenkins-bot has submitted this change and it was merged.
Change subject: [PEP8] changes ......................................................................
[PEP8] changes
Change-Id: I0bffe2ae3d09dfa7fa9dad014bae5bace3bce00b --- M featured.py 1 file changed, 5 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/featured.py b/featured.py index f437a33..a052f96 100644 --- a/featured.py +++ b/featured.py @@ -6,7 +6,7 @@ Task commands:
Without additional task command this script is used for - featured articles as default. + featured articles as default.
-good use this script for good articles.
@@ -64,13 +64,14 @@ from copy import copy import wikipedia as pywikibot from pywikibot import i18n -import catlib, config from pagegenerators import PreloadingGenerator +import catlib +import config
def CAT(site, name, hide): name = site.namespace(14) + ':' + name - cat=catlib.Category(site, name) + cat = catlib.Category(site, name) for article in cat.articles(endsort=hide): yield article if hide: @@ -679,7 +680,7 @@ pywikibot.output('\nQuitting program...') finally: if not nocache: - pickle.dump(cache,file(filename,"wb")) + pickle.dump(cache, file(filename, "wb"))
if __name__ == "__main__":
pywikibot-commits@lists.wikimedia.org