Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zoe
main
Commits
213357d5
Commit
213357d5
authored
Apr 24, 2017
by
Daniele Venzano
Browse files
Fix pylint warnings
parent
3d6139d2
Pipeline
#3891
passed with stages
in 6 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
zoe_api/web/ajax.py
View file @
213357d5
...
...
@@ -46,7 +46,6 @@ class AjaxEndpointWeb(ZoeRequestHandler):
execution
=
self
.
api_endpoint
.
execution_list
(
uid
,
role
,
name
=
'aml-lab'
)
if
len
(
execution
)
==
0
:
exec_id
=
self
.
api_endpoint
.
execution_start
(
uid
,
role
,
'aml-lab'
,
app_descr
)
pass
else
:
execution
=
execution
[
0
]
exec_id
=
execution
.
id
...
...
zoe_cmd/entrypoint.py
View file @
213357d5
...
...
@@ -159,8 +159,8 @@ def exec_get_cmd(args):
print
(
'Exposed endpoints:'
)
else
:
print
(
'This ZApp does not expose any endpoint'
)
for
e
p
in
endpoints
:
print
(
' - {}: {}'
.
format
(
e
p
[
0
],
ep
[
1
]))
for
e
ndpoint
in
endpoints
:
print
(
' - {}: {}'
.
format
(
e
ndpoint
[
0
],
endpoint
[
1
]))
print
()
for
c_id
in
execution
[
'services'
]:
...
...
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