[lxc-devel] [pylxd/master] Update pydoc for container.execute

AdamIsrael on Github lxc-bot at linuxcontainers.org
Thu Apr 4 14:06:17 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 431 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190404/c3821eb6/attachment.bin>
-------------- next part --------------
From 001ac18598f7b6470e281070242a92a4936e08d7 Mon Sep 17 00:00:00 2001
From: Adam Israel <adam at 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 <adam at 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:


More information about the lxc-devel mailing list