http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9467
Revision: 9467 Author: xqt Date: 2011-08-28 15:40:17 +0000 (Sun, 28 Aug 2011) Log Message: ----------- fix from trunk r9466
Modified Paths: -------------- branches/rewrite/pywikibot/plural.py
Modified: branches/rewrite/pywikibot/plural.py =================================================================== --- branches/rewrite/pywikibot/plural.py 2011-08-28 15:39:16 UTC (rev 9466) +++ branches/rewrite/pywikibot/plural.py 2011-08-28 15:40:17 UTC (rev 9467) @@ -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)},