summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 58fd4d64..cf78d441 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -351,9 +351,10 @@ class HasParam(Plugin):
self._filter_param_by_context(name, env),
sort=False
)
- check = getattr(self, 'check_' + name, None)
- if callable(check):
- check(namespace)
+ if self.env.mode != 'production':
+ check = getattr(self, 'check_' + name, None)
+ if callable(check):
+ check(namespace)
setattr(self, name, namespace)