summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-14 13:51:37 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-14 13:51:37 -0700
commit79422d048959a7f6a5fff981caf91de924788e85 (patch)
tree6907dd9a19be1bab578270c1c88bd662409d7ca4 /ipalib/parameters.py
parent09e2f5d615a17943ba572fd02a2e0d9b15ca1076 (diff)
downloadfreeipa-79422d048959a7f6a5fff981caf91de924788e85.tar.gz
freeipa-79422d048959a7f6a5fff981caf91de924788e85.tar.xz
freeipa-79422d048959a7f6a5fff981caf91de924788e85.zip
All unit tests now working (except for doctests and Rob's xmlrpc tests)
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index da01bfcf..4d46297c 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -521,7 +521,13 @@ class Param(ReadOnly):
for rule in self.all_rules:
error = rule(ugettext, value)
if error is not None:
- raise ValidationError(name=self.name, error=error, index=index)
+ raise ValidationError(
+ name=self.name,
+ value=value,
+ index=index,
+ error=error,
+ rule=rule,
+ )
def get_default(self, **kw):
"""