mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add support for environment variables, change tests accordingly
This commit is contained in:
committed by
Jason Gerard DeRose
parent
d77907d2d0
commit
afdc721038
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user