summaryrefslogtreecommitdiff
path: root/oslo_rootwrap/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_rootwrap/client.py')
-rw-r--r--oslo_rootwrap/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/oslo_rootwrap/client.py b/oslo_rootwrap/client.py
index 5163772..cb01ce6 100644
--- a/oslo_rootwrap/client.py
+++ b/oslo_rootwrap/client.py
@@ -127,12 +127,12 @@ class Client(object):
self._initialize()
return self._proxy
- def execute(self, cmd, env=None, stdin=None):
+ def execute(self, cmd, stdin=None):
self._ensure_initialized()
proxy = self._proxy
retry = False
try:
- res = proxy.run_one_command(cmd, env, stdin)
+ res = proxy.run_one_command(cmd, stdin)
except (EOFError, IOError):
retry = True
# res can be None if we received final None sent by dying server thread
@@ -140,5 +140,5 @@ class Client(object):
# at this point.
if retry or res is None:
proxy = self._restart(proxy)
- res = proxy.run_one_command(cmd, env, stdin)
+ res = proxy.run_one_command(cmd, stdin)
return res