diff options
author | shadchin <[email protected]> | 2024-04-28 21:17:44 +0300 |
---|---|---|
committer | shadchin <[email protected]> | 2024-04-28 21:25:54 +0300 |
commit | a55d99a3eb72f90355bc146baeda18aa7eb97352 (patch) | |
tree | b17cfed786effe8b81bba022239d6729f716fbeb /contrib/tools/python3/Lib/multiprocessing | |
parent | 67bf49d08acf1277eff4c336021ac22d964bb4c4 (diff) |
Update Python 3 to 3.12.3
7d09de7d8b99ea2be554ef0fc61276942ca9c2e1
Diffstat (limited to 'contrib/tools/python3/Lib/multiprocessing')
-rw-r--r-- | contrib/tools/python3/Lib/multiprocessing/connection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/tools/python3/Lib/multiprocessing/connection.py b/contrib/tools/python3/Lib/multiprocessing/connection.py index dbbf106f680..d0582e3cd54 100644 --- a/contrib/tools/python3/Lib/multiprocessing/connection.py +++ b/contrib/tools/python3/Lib/multiprocessing/connection.py @@ -476,8 +476,9 @@ class Listener(object): ''' if self._listener is None: raise OSError('listener is closed') + c = self._listener.accept() - if self._authkey: + if self._authkey is not None: deliver_challenge(c, self._authkey) answer_challenge(c, self._authkey) return c |