Commit e60ab465 authored by Ivan Tyagov's avatar Ivan Tyagov

Declare previous & next keys as binary ones (i.e. their content is encoded and later decoded) as

we need to deliver to client sometimes non ASCII characters (i.e. translated actions).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23377 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f2e201d
...@@ -49,8 +49,8 @@ def _setSuperSecurityManager(self): ...@@ -49,8 +49,8 @@ def _setSuperSecurityManager(self):
class GeneratorCall(UserDict): class GeneratorCall(UserDict):
""" Class use to generate/interpret XML-RPC call for the wizard. """ """ Class use to generate/interpret XML-RPC call for the wizard. """
_binary_keys = ("data", "filedata",) _binary_keys = ("data", "filedata", "previous", "next",)
_string_keys = ("previous", "next", "command", "server_buffer",) _string_keys = ( "command", "server_buffer",)
def __init__(self, *args, **kw): def __init__(self, *args, **kw):
UserDict.__init__(self, *args, **kw) UserDict.__init__(self, *args, **kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment