pombreda / formalchemy

Automatically exported from code.google.com/p/formalchemy
MIT License
0 stars 0 forks source link

Fix some unicode issue in pylonsapp #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

this is simple patch to fix some unicode issue.

Regards,
Stephane

Original issue reported on code.google.com by klein.stephane on 26 Feb 2009 at 8:16

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jbel...@gmail.com on 28 Feb 2009 at 1:00

GoogleCodeExporter commented 9 years ago
I'm doing something like this:
    def __repr__(self):
        return self.__unicode__().encode('ascii', 'ignore')

    def __unicode__(self):
        return '<Entry(%s, %s, %s, %s, %s)>' % (self.id, self.title, self.kind_id, 
self.user_id, self.when)

Original comment by sec....@gmail.com on 12 Mar 2009 at 8:50

GoogleCodeExporter commented 9 years ago
patch applied

Original comment by gael.pas...@gmail.com on 12 Mar 2009 at 10:30