babel.plural traceback
14 July 2008
22:00
| 1 | Traceback (most recent call last): |
|---|---|
| 2 | File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py", line 1212, in __run |
| 3 | compileflags, 1) in test.globs |
| 4 | File "<doctest babel.core.Locale.plural_rules[3]>", line 1, in <module> |
| 5 | Locale('ar').plural_rules(100) |
| 6 | File "./scripts/../babel/plural.py", line 120, in __call__ |
| 7 | self._func = to_python(self) |
| 8 | File "./scripts/../babel/plural.py", line 171, in to_python |
| 9 | result.append(' if (%s): return %r' % (to_python(ast), tag)) |
| 10 | File "./scripts/../babel/plural.py", line 372, in compile |
| 11 | return getattr(self, 'compile_' + op)(*args) |
| 12 | File "./scripts/../babel/plural.py", line 385, in compile_relation |
| 13 | return '%s(%s, %s)' % (method.upper(), self.compile(expr), range) |
| 14 | File "./scripts/../babel/plural.py", line 372, in compile |
| 15 | return getattr(self, 'compile_' + op)(*args) |
| 16 | File "./scripts/../babel/plural.py", line 363, in <lambda> |
| 17 | return lambda self, l, r: tmpl % (self.compile(l), self.compile(r)) |
| 18 | File "./scripts/../babel/plural.py", line 372, in compile |
| 19 | return getattr(self, 'compile_' + op)(*args) |
| 20 | TypeError: <lambda>() argument after * must be a sequence |
Comments
No comments so far.
