diff --git a/plugins/module_utils/_api/utils/socket.py b/plugins/module_utils/_api/utils/socket.py index 0deb3ad7..8ba27238 100644 --- a/plugins/module_utils/_api/utils/socket.py +++ b/plugins/module_utils/_api/utils/socket.py @@ -127,7 +127,7 @@ def frames_iter_no_tty(socket: SocketLike) -> t.Generator[tuple[int, bytes]]: not enabled. """ while True: - (stream, n) = next_frame_header(socket) + stream, n = next_frame_header(socket) if n < 0: break while n > 0: diff --git a/plugins/modules/docker_login.py b/plugins/modules/docker_login.py index 91f47388..142133ff 100644 --- a/plugins/modules/docker_login.py +++ b/plugins/modules/docker_login.py @@ -189,7 +189,7 @@ class DockerFileStore: if not server_creds: raise CredentialsNotFound("No matching credentials") - (username, password) = decode_auth(server_creds["auth"]) + username, password = decode_auth(server_creds["auth"]) return {"Username": username, "Secret": password}