File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def __init__(self, **kwargs) -> None:
7878
7979 def _verify_connection (self ):
8080 """Verify connection to Podman daemon during initialization.
81-
81+
8282 Raises:
8383 PodmanException: If unable to connect to Podman daemon
8484 """
@@ -91,13 +91,9 @@ def _verify_connection(self):
9191 "Error while connecting to Podman daemon: "
9292 f"Could not find socket file - { str (e )} "
9393 ) from e
94- raise PodmanConnectionError (
95- f"Error while connecting to Podman daemon: { str (e )} "
96- ) from e
94+ raise PodmanConnectionError (f"Error while connecting to Podman daemon: { str (e )} " ) from e
9795 except Exception as e :
98- raise PodmanConnectionError (
99- f"Error while connecting to Podman daemon: { str (e )} "
100- ) from e
96+ raise PodmanConnectionError (f"Error while connecting to Podman daemon: { str (e )} " ) from e
10197
10298 def __enter__ (self ) -> "PodmanClient" :
10399 return self
@@ -174,7 +170,6 @@ def from_env(
174170
175171 return PodmanClient (** kwargs )
176172
177-
178173 @cached_property
179174 def containers (self ) -> ContainersManager :
180175 """Returns Manager for operations on containers stored by a Podman service."""
You can’t perform that action at this time.
0 commit comments