Commit 3a3279ed authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update controllers by applying 2to3 converter.

parent d9659186
......@@ -105,13 +105,13 @@ def dbui_conf():
# build the dictionary required by
# containing the definition of the remote procedure
for (k, f) in directSvc.procedures.iteritems():
for k, f in list(directSvc.procedures.items()):
action, method = k.split(".")
if action == DBUI:
nargs = f.func_code.co_argcount
nargs = f.__code__.co_argcount
nargs = f.__func__.func_code.co_argcount - 1
nargs = f.__func__.__code__.co_argcount - 1
if action not in di:
di[action] = []
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