[Python-modules-team] Bug#741834: Severity
Jakub Wilk
jwilk at debian.org
Mon Mar 31 09:22:55 UTC 2014
It's reproducible if no internationalization environment variables are
set:
$ env -i python -c 'from babel.dates import *; format_timedelta(timedelta(hours=1), add_direction=True)'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/babel/dates.py", line 780, in format_timedelta
plural_form = locale.plural_form(value)
AttributeError: 'NoneType' object has no attribute 'plural_form'
pbuilder exports LC_ALL=C, which untriggers the bug.
--
Jakub Wilk
More information about the Python-modules-team
mailing list