Make json the default format

This commit is contained in:
Christophe de Vienne 2012-10-26 14:53:47 +02:00
parent d282fda305
commit e19613fd32

View File

@ -68,8 +68,8 @@ def wsexpose(*args, **kwargs):
result=result
)
pecan_json_decorate(callfunction)
pecan_xml_decorate(callfunction)
pecan_json_decorate(callfunction)
pecan.util._cfg(callfunction)['argspec'] = inspect.getargspec(f)
return callfunction