http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9466
Revision: 9466 Author: xqt Date: 2011-08-28 15:39:16 +0000 (Sun, 28 Aug 2011) Log Message: ----------- fix for default variant
Modified Paths: -------------- trunk/pywikipedia/pywikibot/plural.py
Modified: trunk/pywikipedia/pywikibot/plural.py =================================================================== --- trunk/pywikipedia/pywikibot/plural.py 2011-08-28 15:33:01 UTC (rev 9465) +++ trunk/pywikipedia/pywikibot/plural.py 2011-08-28 15:39:16 UTC (rev 9466) @@ -9,7 +9,7 @@ #
plural_rules = { - '_default': {'nplurals': 2, 'plural': lambda n: lambda n: (n != 1)}, + '_default': {'nplurals': 2, 'plural': lambda n: (n != 1)}, 'ach':{'nplurals': 2, 'plural': lambda n: (n > 1)}, 'ak': {'nplurals': 2, 'plural': lambda n: (n > 1)}, 'am': {'nplurals': 2, 'plural': lambda n: (n > 1)},