From 490eaee8a9f35975f7db5739a882894e10fb79a7 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 3 Sep 2008 22:41:53 +0000 Subject: [PATCH] 248: Removed depreciated SetError and TwiceSetError exceptions --- ipalib/errors.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ipalib/errors.py b/ipalib/errors.py index fc1b2c499..5e8af9d4a 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -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'