summaryrefslogtreecommitdiff
path: root/contrib/python/podman
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-08-16 15:51:26 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-20 15:26:09 +0000
commit3bfe07b4f583b9526b616ec7e49332994ca5bc2e (patch)
treef3e1f0f609fb2792dc2c125b8acc9d31cda8792c /contrib/python/podman
parent462c503a4762a0f20023d937a5fb05a55d4183a3 (diff)
downloadpodman-3bfe07b4f583b9526b616ec7e49332994ca5bc2e.tar.gz
podman-3bfe07b4f583b9526b616ec7e49332994ca5bc2e.tar.bz2
podman-3bfe07b4f583b9526b616ec7e49332994ca5bc2e.zip
Support Attach subcommand in pypodman
* Fix some random error handling Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #1296 Approved by: rhatdan
Diffstat (limited to 'contrib/python/podman')
-rw-r--r--contrib/python/podman/podman/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/podman/podman/client.py b/contrib/python/podman/podman/client.py
index b61506cda..24df65e23 100644
--- a/contrib/python/podman/podman/client.py
+++ b/contrib/python/podman/podman/client.py
@@ -45,7 +45,7 @@ class BaseClient():
raise ValueError('interface is required and cannot be None')
unsupported = set(kwargs.keys()).difference(
- ('uri', 'interface', 'remote_uri', 'port', 'identity_file'))
+ ('uri', 'interface', 'remote_uri', 'identity_file'))
if unsupported:
raise ValueError('Unknown keyword arguments: {}'.format(
', '.join(unsupported)))