Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
3a3279ed
Commit
3a3279ed
authored
Nov 06, 2019
by
LE GAC Renaud
Browse files
Update controllers by applying 2to3 converter.
parent
d9659186
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
controllers/plugin_dbui.py
controllers/plugin_dbui.py
+3
-3
No files found.
controllers/plugin_dbui.py
View file @
3a3279ed
...
...
@@ -105,13 +105,13 @@ def dbui_conf():
# build the dictionary required by Ext.direct
# containing the definition of the remote procedure
for
(
k
,
f
)
in
directSvc
.
procedures
.
iter
items
():
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
else
:
nargs
=
f
.
__func__
.
func
_code
.
co_argcount
-
1
nargs
=
f
.
__func__
.
_
_code
__
.
co_argcount
-
1
if
action
not
in
di
:
di
[
action
]
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment