diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/lib/oeqa/utils/network.py')
-rw-r--r-- | import-layers/yocto-poky/meta/lib/oeqa/utils/network.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/import-layers/yocto-poky/meta/lib/oeqa/utils/network.py b/import-layers/yocto-poky/meta/lib/oeqa/utils/network.py deleted file mode 100644 index 2768f6c5d..000000000 --- a/import-layers/yocto-poky/meta/lib/oeqa/utils/network.py +++ /dev/null @@ -1,8 +0,0 @@ -import socket - -def get_free_port(): - s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.bind(('', 0)) - addr = s.getsockname() - s.close() - return addr[1] |