From 5e6b44075a6fa340a5e1c1058fe5f4a66626a051 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 9 Jun 2015 12:26:24 +0100 Subject: Rename sandbox_backend_for_platform() to executor_for_platform() The old name might be mistaken for a verb, i.e. "sandbox this backend" or some such thing. Hopefully the new name makes it clearer that it returns an execution backend. --- sandboxlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandboxlib/__init__.py b/sandboxlib/__init__.py index 30cb71e..84e033f 100644 --- a/sandboxlib/__init__.py +++ b/sandboxlib/__init__.py @@ -123,7 +123,7 @@ def run_sandbox_with_redirection(command, **sandbox_config): raise NotImplementedError() -def sandbox_module_for_platform(): +def executor_for_platform(): '''Returns an execution module that will work on the current platform.''' log = logging.getLogger("sandboxlib") -- cgit v1.2.1