From 1bd510601e3daf4cd831322220aba1ecc2edb35f Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 10 Sep 2017 12:16:16 +0530 Subject: [PATCH] fakessh: rename API function to match index.rst. --- docs/api.rst | 2 +- econtext/fakessh.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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