Commit aa283ad9 authored by Daniele Venzano's avatar Daniele Venzano

Fix pylint errors

parent 21901036
...@@ -22,5 +22,4 @@ import sys ...@@ -22,5 +22,4 @@ import sys
from zoe_api.entrypoint import zoe_web_main from zoe_api.entrypoint import zoe_web_main
if __name__ == "__main__": if __name__ == "__main__":
ret_val = zoe_web_main() sys.exit(zoe_web_main())
sys.exit(ret_val)
...@@ -45,4 +45,3 @@ class ZoeServiceAPI(ZoeAPIBase): ...@@ -45,4 +45,3 @@ class ZoeServiceAPI(ZoeAPIBase):
raise ZoeAPIException('service "{}" not found'.format(container_id)) raise ZoeAPIException('service "{}" not found'.format(container_id))
else: else:
raise ZoeAPIException('error retrieving service {}'.format(container_id)) raise ZoeAPIException('error retrieving service {}'.format(container_id))
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