summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/podman/podman/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/podman/podman/client.py b/contrib/python/podman/podman/client.py
index 327bfdee2..b61506cda 100644
--- a/contrib/python/podman/podman/client.py
+++ b/contrib/python/podman/podman/client.py
@@ -175,12 +175,12 @@ class Client():
if not System(self._client).ping():
raise ConnectionRefusedError(
errno.ECONNREFUSED,
- 'Failed varlink connection "{}"'.format(address), address)
+ ('Failed varlink connection "{}"').format(address))
except FileNotFoundError:
raise ConnectionError(
errno.ECONNREFUSED,
('Failed varlink connection "{}".'
- ' Is podman service running?').format(address), address)
+ ' Is podman socket or service running?').format(address))
def __enter__(self):
"""Return `self` upon entering the runtime context."""