summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 7191ff405..beb6342d9 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -241,21 +241,6 @@ class RegistrationError(IPAError):
"""
-class NameSpaceError(RegistrationError):
- """
- Raised when name is not a valid Python identifier for use for use as
- the name of NameSpace member.
- """
- msg = 'name %r does not re.match %r'
-
- def __init__(self, name, regex):
- self.name = name
- self.regex = regex
-
- def __str__(self):
- return self.msg % (self.name, self.regex)
-
-
class SubclassError(RegistrationError):
"""
Raised when registering a plugin that is not a subclass of one of the