summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-07-12 17:12:07 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-07-22 10:49:40 +0200
commit8a8a9045b92547ee5536c156926affe0d32de96c (patch)
tree6303cdaadf4e0cf6c57fbdffa954c4183c41f1b6 /ipalib
parent8a22bce24233ddd4ec9764cecf410c159284f370 (diff)
downloadfreeipa-8a8a9045b92547ee5536c156926affe0d32de96c.tar.gz
freeipa-8a8a9045b92547ee5536c156926affe0d32de96c.tar.xz
freeipa-8a8a9045b92547ee5536c156926affe0d32de96c.zip
Fix internal error in idrange-add
Fix internal error in idrange-add, caused by a missing 'name' argument of ValidationError. https://fedorahosted.org/freeipa/ticket/3781
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/idrange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/idrange.py b/ipalib/plugins/idrange.py
index 7f8c1ab7b..06fcc4fc7 100644
--- a/ipalib/plugins/idrange.py
+++ b/ipalib/plugins/idrange.py
@@ -493,7 +493,7 @@ class idrange_add(LDAPCreate):
# TODO: can also be ipa-ad-winsync here?
if entry_attrs['iparangetype'] in (u'ipa-ad-trust',
u'ipa-ad-trust-posix'):
- raise errors.ValidationError('ID Range setup',
+ raise errors.ValidationError(name='ID Range setup',
error=_('IPA Range type must not be one of ipa-ad-trust '
'or ipa-ad-trust-posix when SID of the trusted '
'domain is not specified.'))