summaryrefslogtreecommitdiff
path: root/astroid/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r--astroid/exceptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py
index 3cfadbd2..98a0f881 100644
--- a/astroid/exceptions.py
+++ b/astroid/exceptions.py
@@ -34,6 +34,7 @@ class AstroidError(Exception):
arguments.
"""
def __init__(self, message='', **kws):
+ super(AstroidError, self).__init__(message)
self.message = message
for key, value in kws.items():
setattr(self, key, value)
@@ -202,4 +203,4 @@ BinaryOperationError = util.BadBinaryOperationMessage
SuperArgumentTypeError = SuperError
UnresolvableName = NameInferenceError
NotFoundError = AttributeInferenceError
-AstroidBuildingException = AstroidBuildingError \ No newline at end of file
+AstroidBuildingException = AstroidBuildingError