summaryrefslogtreecommitdiff
path: root/contrib/python/podman
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-08-28 10:00:19 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-31 16:52:52 +0000
commit8245f0942811c2954d257ad8fac6cca8d36e896c (patch)
tree509320267d593f3d9b1f74444a826cc1254ab947 /contrib/python/podman
parentde414c4354633276bd1997359eb9d70130dbc57c (diff)
downloadpodman-8245f0942811c2954d257ad8fac6cca8d36e896c.tar.gz
podman-8245f0942811c2954d257ad8fac6cca8d36e896c.tar.bz2
podman-8245f0942811c2954d257ad8fac6cca8d36e896c.zip
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 <jhonce@redhat.com> Closes: #1369 Approved by: rhatdan
Diffstat (limited to 'contrib/python/podman')
-rw-r--r--contrib/python/podman/podman/libs/containers.py2
1 files changed, 1 insertions, 1 deletions
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():