diff --git a/docs/api.rst b/docs/api.rst index 859ada97..61681596 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -34,7 +34,7 @@ econtext.fakessh .. automodule:: econtext.fakessh -.. autofunction:: econtext.fakessh.run_with_fake_ssh +.. autofunction:: econtext.fakessh.run Router Class diff --git a/econtext/fakessh.py b/econtext/fakessh.py index 91a59c61..f69cde5e 100644 --- a/econtext/fakessh.py +++ b/econtext/fakessh.py @@ -311,7 +311,7 @@ def _fakessh_main(econtext_, dest_context_id): # Public API. # -def run_with_fake_ssh(dest, router, args, deadline=None): +def run(dest, router, args, deadline=None): """ Run the command specified by the argument vector `args` such that ``PATH`` searches for SSH by the command will cause its attempt to use SSH to