Commit 213357d5 authored by Daniele Venzano's avatar Daniele Venzano

Fix pylint warnings

parent 3d6139d2
......@@ -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)
execution = execution[0]
exec_id =
......@@ -159,8 +159,8 @@ def exec_get_cmd(args):
print('Exposed endpoints:')
print('This ZApp does not expose any endpoint')
for ep in endpoints:
print(' - {}: {}'.format(ep[0], ep[1]))
for endpoint in endpoints:
print(' - {}: {}'.format(endpoint[0], endpoint[1]))
for c_id in execution['services']:
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