[csw-maintainers] Issue with checkpkg

Maciej (Matchek) Bliziński maciej at opencsw.org
Tue Jul 10 13:27:33 CEST 2012


2012/7/10 Dagobert Michelsen <dam at opencsw.org>

> This looks like an artifact from the previous change to allow utf8. Any
> ideas?


Yes, it's a breakage caused by a change intended to fix the other issue.
Something that would work for all cases. We first prepare a variable that
is either unicode or None:

tag_info = e.tag_info
if tag_info is not None:
  tag_info = unicode(tag_info, "utf-8")

And then we store that variable in the database:

(...) tag_info=tag_info)

Dago, I'll let you figure out the details. If the fix works, please commit.

Maciej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20120710/bd81dc26/attachment.html>


More information about the maintainers mailing list