Changeset 3762
- Timestamp:
- 11/25/07 17:25:21 (8 months ago)
- Files:
-
- branches/1.0/turbogears/visit/api.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/turbogears/visit/api.py
r3443 r3762 5 5 from datetime import timedelta, datetime 6 6 import time 7 import types 7 8 8 9 import cherrypy … … 163 164 cherrypy.request.object_path = e.path 164 165 166 for k,v in cherrypy.request.params.iteritems(): 167 if isinstance(v, types.DictType): 168 # we don't do anything with this... 169 # anyway the decode filter of CP will not work 170 # with dicts 171 cherrypy.request.params[k] = v 172 173 else: 174 cherrypy.request.params[k] = v.encode('utf-8') 175 165 176 def _generate_key(self): 166 177 '''