http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8966
Revision: 8966 Author: xqt Date: 2011-02-16 10:40:27 +0000 (Wed, 16 Feb 2011) Log Message: ----------- Fix for KeyError exception message introduced in r7533
Modified Paths: -------------- trunk/pywikipedia/featured.py
Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2011-02-16 10:30:16 UTC (rev 8965) +++ trunk/pywikipedia/featured.py 2011-02-16 10:40:27 UTC (rev 8966) @@ -417,7 +417,7 @@ except KeyError: pywikibot.output( u'Error: language %s doesn't has %s category source.' - % (site.lang, feature)) + % (site.lang, pType)) return arts if pType == 'good': name=good_name[site.lang][1]
pywikipedia-svn@lists.wikimedia.org