From 8a8a9045b92547ee5536c156926affe0d32de96c Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Fri, 12 Jul 2013 17:12:07 +0200 Subject: 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 --- ipalib/plugins/idrange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib') diff --git a/ipalib/plugins/idrange.py b/ipalib/plugins/idrange.py index 7f8c1ab7..06fcc4fc 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.')) -- cgit