241: Added additional index=None kwarg to errors.ValidationError.__init__()
This commit is contained in:
1 parent
9548b4b951
commit
9b9615df79
1 file changed
+2
-1
+2
-1
@@ -112,10 +112,11 @@ class IPAError(Exception):
|
||||
class ValidationError(IPAError):
|
||||
msg = 'invalid %r value %r: %s'
|
||||
|
||||
def __init__(self, name, value, error):
|
||||
def __init__(self, name, value, error, index=None):
|
||||
self.name = name
|
||||
self.value = value
|
||||
self.error = error
|
||||
self.index = index
|
||||
IPAError.__init__(self, name, value, error)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user