| Issue 3: | Template.expand does not accept an encoding paramter | |
| Back to list |
What steps will reproduce the problem?
1. Run the simple example: jsontemplate.expand('Hello {name}', {'name':
'world'})
Results in:
>>> jsontemplate.expand('Hello {name}', {'name': 'world'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "jsontemplate.py", line 658, in expand
return t.expand(dictionary, encoding=encoding)
TypeError: expand() got an unexpected keyword argument 'encoding'
The module method expand passes an encoding param to the Template.expand
method, which does not define an encoding param in its signature.
What version of the product are you using? On what operating system?
MacOSX / (FreeBSD-like)
Python 2.5.1
Mar 30, 2009
Project Member
#1
gtempacc...@yahoo.com
Status:
Fixed
|