From 8245f0942811c2954d257ad8fac6cca8d36e896c Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Tue, 28 Aug 2018 10:00:19 -0700 Subject: Add support for remote commands * Add support for commit, export, inspect, kill, logs, mount, pause port commands * Refactored Report class to allow column lengths to be optionally driven by data * Refactored Ps class to truncate image names on the left vs right * Bug fixes Signed-off-by: Jhon Honce Closes: #1369 Approved by: rhatdan --- contrib/python/podman/podman/libs/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/python/podman') diff --git a/contrib/python/podman/podman/libs/containers.py b/contrib/python/podman/podman/libs/containers.py index 88d2aa137..f56137e12 100644 --- a/contrib/python/podman/podman/libs/containers.py +++ b/contrib/python/podman/podman/libs/containers.py @@ -214,7 +214,7 @@ class Container(AttachMixin, StartMixin, collections.UserDict): """Retrieve container logs.""" with self._client() as podman: results = podman.GetContainerLogs(self._id) - yield from results + yield from results['container'] class Containers(): -- cgit v1.2.3-54-g00ecf