From ccc924ee10ab1eca3223aee75c660f949bfcd212 Mon Sep 17 00:00:00 2001 From: Kohei Maeda Date: Sun, 23 Apr 2017 08:27:54 +0900 Subject: [PATCH] Fixes pylint violation useless-super-delegation. Signed-off-by: Kohei Maeda --- swiftsc/exception.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/swiftsc/exception.py b/swiftsc/exception.py index 11145af..aff13f5 100644 --- a/swiftsc/exception.py +++ b/swiftsc/exception.py @@ -8,9 +8,7 @@ class Error(Exception): Child classes should define an status code, title, and message_format. """ - def __init__(self, message=None): - """constructor of Error.""" - super(Error, self).__init__(message) + pass class ValidationError(Error):