[pology] Bug in 'pology/match.py'
Javier Viñal
fjvinal at gmail.com
Tue Mar 4 10:31:12 PST 2014
Hello:
Posieve fails with the following traceback due of the lack of the sentence
"import locale" in the module "match.py".
The problem occurs when posieve is called with a malformed regexpr.
Traceback (most recent call last):nroot-cop/branches/
stable/l10n-kde4/es/messages/kde-workspace/libplasmaclock.po
File "/home/javier/svnroot/pology/scripts/posieve.py", line 607, in
<module>
exit_on_exception(main)
File "/home/javier/svnroot/pology/pology/fsops.py", line 990, in
exit_on_exception
func()
File "/home/javier/svnroot/pology/scripts/posieve.py", line 345, in main
sieves.append(mod.Sieve(sparams[name]))
File "/home/javier/svnroot/pology/sieve/find_messages.py", line 329, in
__init__
], negatable=True, orlinked=self.p.or_match)
File "/home/javier/svnroot/pology/sieve/find_messages.py", line 308, in
make_match_group
raise SieveError(str_to_unicode(str(e)))
File "/home/javier/svnroot/pology/pology/match.py", line 90, in __str__
return self.__unicode__().encode(locale.getpreferredencoding())
NameError: global name 'locale' is not defined
Regards, Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nedohodnik.net/pipermail/pology-nedohodnik.net/attachments/20140304/00267705/attachment.htm>
More information about the pology
mailing list