Commit 5b1acf18 authored by Daniele Venzano's avatar Daniele Venzano

Remove unnecessary pass statements (pylint)

parent f58527ff
......@@ -3,9 +3,7 @@
class OAuth2Error(Exception):
"""OAuth error."""
pass
class ConfigurationError(OAuth2Error):
"""OAuth configuration error."""
pass
......@@ -67,7 +67,6 @@ class ZoeRequestHandler(tornado.web.RequestHandler):
def data_received(self, chunk):
"""Not implemented as we do not use stream uploads"""
pass
class ZoeWSRequestHandler(tornado.websocket.WebSocketHandler):
......@@ -104,7 +103,6 @@ class ZoeWSRequestHandler(tornado.websocket.WebSocketHandler):
def data_received(self, chunk):
"""Not implemented as we do not use stream uploads"""
pass
def on_message(self, message):
"""Must be implemented by a subclass."""
......
......@@ -110,4 +110,3 @@ class WebSocketEndpointWeb(ZoeWSRequestHandler):
def data_received(self, chunk):
"""Not implemented as we do not use stream uploads"""
pass
......@@ -30,19 +30,15 @@ class ZoeException(Exception):
class ZoeStartExecutionRetryException(ZoeException):
"""Execution emitted in case the Execution failed to start for a transient error."""
pass
class ZoeStartExecutionFatalException(ZoeException):
"""Execution emitted in case the Execution failed to start for a fatal error."""
pass
class UnsupportedSchedulerPolicyError(ZoeException):
"""The configuration asks for a combination of scheduler and policy that is unsupported."""
pass
class ZoeNotEnoughResourcesException(ZoeException):
"""Service failed to start due to not enough available resources."""
pass
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