The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/356
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Update the pydoc for container's execute method to clarify the return value. Signed-off-by: Adam Israel <a...@adamisrael.com>
From 001ac18598f7b6470e281070242a92a4936e08d7 Mon Sep 17 00:00:00 2001 From: Adam Israel <a...@adamisrael.com> Date: Thu, 4 Apr 2019 10:04:29 -0400 Subject: [PATCH] Update pydoc for container.execute Update the pydoc for container's execute method to clarify the return value. Signed-off-by: Adam Israel <a...@adamisrael.com> --- pylxd/models/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylxd/models/container.py b/pylxd/models/container.py index a66e5c17..d6dc4694 100644 --- a/pylxd/models/container.py +++ b/pylxd/models/container.py @@ -382,7 +382,7 @@ def execute( message recived via stderr :type stderr_handler: Callable[[str], None] :raises ValueError: if the ws4py library is not installed. - :returns: The return value, stdout and stdin + :returns: A tuple of `(exit_code, stdout, stderr)` :rtype: _ContainerExecuteResult() namedtuple """ if not _ws4py_installed:
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel