Changeset 4340

Show
Ignore:
Timestamp:
09/25/08 14:59:32 (3 months ago)
Author:
bobbysmith007
Message:

re #3209

Based on what you linked to, this seems like a problem using the str() function when I should be using unicode()

The place that I found where it was doing this was in building up some json output. I changed this to unicode, which will hopefully mean that this error is solved.

HTH,

Russ

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • estimatorplugin/0.10/estimatorplugin/dbhelper.py

    r3404 r4340  
    170170            [("{%s}" % ','.join( 
    171171            ["'%s':'%s'" % 
    172              (key, str(self.value(val, row)). 
     172             (key, unicode(self.value(val, row)). 
    173173              replace("'","\\'"). 
    174174              replace('"','\\"'). 
  • estimatorplugin/0.10/setup.py

    r3415 r4340  
    44 
    55setup(name=PACKAGE, 
    6       version='0.0.6', 
     6      version='0.0.7', 
    77      packages=[PACKAGE], 
    88      url='http://www.trac-hacks.org/wiki/EstimatorPlugin', 
  • estimatorplugin/0.11/estimatorplugin/dbhelper.py

    r3404 r4340  
    170170            [("{%s}" % ','.join( 
    171171            ["'%s':'%s'" % 
    172              (key, str(self.value(val, row)). 
     172             (key, unicode(self.value(val, row)). 
    173173              replace("'","\\'"). 
    174174              replace('"','\\"'). 
  • estimatorplugin/0.11/setup.py

    r3415 r4340  
    44 
    55setup(name=PACKAGE, 
    6       version='0.0.6', 
     6      version='0.0.7', 
    77      packages=[PACKAGE], 
    88      url='http://www.trac-hacks.org/wiki/EstimatorPlugin',