Skip to content

Commit

Permalink
ensure 'sock' is always defined (pedantic)
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 8, 2024
1 parent 7514d88 commit 7b7b2f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpra/net/socket_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ def timeout_probe(sockpath):
del e
except Exception:
for sock_def in defs.keys():
sock = str(sock_def)
try:
sock = f"{sock_def[0]} {sock_def[2]!r}"
cleanup_socket = sock_def[-1]
Expand Down

0 comments on commit 7b7b2f9

Please sign in to comment.