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

Remove unnecessary pass statements (pylint)

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