summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-09 12:26:24 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-09 12:26:24 +0100
commit5e6b44075a6fa340a5e1c1058fe5f4a66626a051 (patch)
tree1ee542e9b7a7151cdbf0b31513c971897a960d4f
parentccc25d0bee354f3b905e809cca10bb88d5e58b29 (diff)
downloadsandboxlib-5e6b44075a6fa340a5e1c1058fe5f4a66626a051.tar.gz
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.
-rw-r--r--sandboxlib/__init__.py2
1 files changed, 1 insertions, 1 deletions
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")