Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

env: fix the issue with the same port assignment #95

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

evgeniiz321
Copy link
Contributor

No description provided.

Evgeniy Zayats added 2 commits March 11, 2024 20:34
Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(("", 0))
addr = s.getsockname()
s.close()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frankly, I don't like this code. But I can't immediately suggest any better one.

@roman-khimov roman-khimov merged commit dccae12 into master Mar 12, 2024
3 checks passed
@roman-khimov roman-khimov deleted the ezayats/env-updates branch March 12, 2024 14:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants