summaryrefslogtreecommitdiff
path: root/contrib/python
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-09-28 14:49:01 -0700
committerJhon Honce <jhonce@redhat.com>2018-10-01 07:24:50 -0700
commitff38edaafefa1cdac9a87a1a08b8f4fcd94ae996 (patch)
treea0d726585a98d38843d27963e2e73a32d96472b5 /contrib/python
parent9074565f4e623124f17ce02657e35d658abafae5 (diff)
downloadpodman-ff38edaafefa1cdac9a87a1a08b8f4fcd94ae996.tar.gz
podman-ff38edaafefa1cdac9a87a1a08b8f4fcd94ae996.tar.bz2
podman-ff38edaafefa1cdac9a87a1a08b8f4fcd94ae996.zip
* Update documenation
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/podman/podman/libs/errors.py6
-rw-r--r--contrib/python/podman/podman/libs/pods.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/python/podman/podman/libs/errors.py b/contrib/python/podman/podman/libs/errors.py
index 1b94344c4..2821d3597 100644
--- a/contrib/python/podman/podman/libs/errors.py
+++ b/contrib/python/podman/podman/libs/errors.py
@@ -23,15 +23,15 @@ class VarlinkErrorProxy(VarlinkError):
class ContainerNotFound(VarlinkErrorProxy):
- """Raised when Client can not find requested container."""
+ """Raised when Client cannot find requested container."""
class ImageNotFound(VarlinkErrorProxy):
- """Raised when Client can not find requested image."""
+ """Raised when Client cannot find requested image."""
class PodNotFound(VarlinkErrorProxy):
- """Raised when Client can not find requested image."""
+ """Raised when Client cannot find requested image."""
class PodContainerError(VarlinkErrorProxy):
diff --git a/contrib/python/podman/podman/libs/pods.py b/contrib/python/podman/podman/libs/pods.py
index 6aec2c186..b14a13dd2 100644
--- a/contrib/python/podman/podman/libs/pods.py
+++ b/contrib/python/podman/podman/libs/pods.py
@@ -71,7 +71,7 @@ class Pod(collections.UserDict):
return self._refresh(podman)
def remove(self, force=False):
- """Remove all containers in the pod, the pod, return pod ident.
+ """Remove pod and its containers returning pod ident.
force=True, stop any running container.
"""
@@ -105,7 +105,7 @@ class Pod(collections.UserDict):
return self._refresh(podman)
def top(self):
- """Display stats for all containers exit."""
+ """Display stats for all containers."""
with self._client() as podman:
results = podman.TopPod(self._ident)
return results['pod']