Changeset 4060 for cows/trunk


Ignore:
Timestamp:
23/07/08 15:55:23 (11 years ago)
Author:
spascoe
Message:

Unicode bug in genshi response

Location:
cows/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/ows_controller.py

    r4058 r4060  
    8585                tmpl = templateLoader.load('exception_report.xml') 
    8686                start_response('200 OK', [('Content-type', 'text/xml')]) 
    87                 return tmpl.generate(report=e.report).serialize('xml') 
     87                return [str(tmpl.generate(report=e.report).render('xml'))] 
    8888 
    8989    def _loadOwsParams(self): 
  • cows/trunk/setup.cfg

    r4058 r4060  
    11[egg_info] 
    2 tag_build = rc3 
    32#tag_svn_revision = true 
Note: See TracChangeset for help on using the changeset viewer.