mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
248: Removed depreciated SetError and TwiceSetError exceptions
This commit is contained in:
parent
296d59d27a
commit
490eaee8a9
@ -160,10 +160,6 @@ class RequirementError(ValidationError):
|
||||
ValidationError.__init__(self, name, None, 'Required')
|
||||
|
||||
|
||||
class SetError(IPAError):
|
||||
msg = 'setting %r, but NameSpace does not allow attribute setting'
|
||||
|
||||
|
||||
class RegistrationError(IPAError):
|
||||
"""
|
||||
Base class for errors that occur during plugin registration.
|
||||
@ -231,7 +227,3 @@ class MissingOverrideError(RegistrationError):
|
||||
|
||||
def __str__(self):
|
||||
return self.msg % (self.base.__name__, self.cls.__name__, self.cls)
|
||||
|
||||
|
||||
class TwiceSetError(IPAError):
|
||||
msg = '%s.%s cannot be set twice'
|
||||
|
Loading…
Reference in New Issue
Block a user