fixed `super()` statements in two constructors.

This commit is contained in:
Johan Hidding 2017-02-27 15:54:09 +01:00
parent 1cac87cf60
commit c8c8bb3aac
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class DefinitionSyntaxError(ValueError):
"""
def __init__(self, msg, filename=None, lineno=None):
super(ValueError, self).__init__()
super(DefinitionSyntaxError, self).__init__()
self.msg = msg
self.filename = None
self.lineno = None
@ -34,7 +34,7 @@ class RedefinitionError(ValueError):
"""
def __init__(self, name, definition_type):
super(ValueError, self).__init__()
super(RedefinitionError, self).__init__()
self.name = name
self.definition_type = definition_type
self.filename = None