summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 289f9eec..30f5942b 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -559,7 +559,7 @@ class Command(plugable.Plugin):
return self.run(*args, **kw)
def run(self, *args, **kw):
- if self.api.env.in_server_context:
+ if self.api.env.server_context:
target = self.execute
else:
target = self.forward