jenkins-bot has submitted this change and it was merged.
Change subject: simplyfy PageNotFound exception, comment out featuredcount (future use) ......................................................................
simplyfy PageNotFound exception, comment out featuredcount (future use)
Change-Id: Ie6b041567129ae40b755104939613b2ce810de1e --- M scripts/featured.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/featured.py b/scripts/featured.py index 64278c4..f443eb5 100644 --- a/scripts/featured.py +++ b/scripts/featured.py @@ -603,7 +603,7 @@ except pywikibot.LockedPage: pywikibot.output(u'Page %s is locked!' % atrans.title()) - except pywikibot.PageNotSaved as e: + except pywikibot.PageNotSaved: pywikibot.output(u"Page not saved")
@@ -612,7 +612,7 @@ interactive = 0 afterpage = u"!"
- featuredcount = False +## featuredcount = False fromlang = [] processType = 'featured' part = False
pywikibot-commits@lists.wikimedia.org