summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index 7cc93e90..76d88347 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -490,13 +490,12 @@ class Param(ReadOnly):
:param value: A proposed value for this parameter.
"""
- # FIXME: this should be after 'if value is None:'
- if self.query:
- return
if value is None:
if self.required:
raise RequirementError(name=self.name)
return
+ if self.query:
+ return
if self.multivalue:
if type(value) is not tuple:
raise TypeError(