summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-28 20:30:08 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-28 20:30:08 +0000
commit992a5dadbea27b21075617daf4216396d18404de (patch)
treecc0c1c0d16d34ba10302ab4942f5a0efc7c11f9f /ipalib/errors.py
parenta6ec94da601273719e44c69c4d7c23776ab30f3a (diff)
downloadfreeipa-992a5dadbea27b21075617daf4216396d18404de.tar.gz
freeipa-992a5dadbea27b21075617daf4216396d18404de.tar.xz
freeipa-992a5dadbea27b21075617daf4216396d18404de.zip
218: Finished unit tests for Option2.validate(), Option2.validate_scalar()
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index afc61dd8e..a25df091a 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -67,6 +67,7 @@ class RuleError(ValidationError):
"""
Raised when a required option was not provided.
"""
+ # FIXME: `rule` should really be after `error`
def __init__(self, name, value, rule, error):
self.rule = rule
ValidationError.__init__(self, name, value, error)