| Index: telemetry/telemetry/core/util.py
|
| diff --git a/telemetry/telemetry/core/util.py b/telemetry/telemetry/core/util.py
|
| index cf44603a96684cfc59e5b3ee858ee82ce2f4f8d4..904454e7d8984be6a4959684056efab30eb836cb 100644
|
| --- a/telemetry/telemetry/core/util.py
|
| +++ b/telemetry/telemetry/core/util.py
|
| @@ -87,20 +87,6 @@ class PortKeeper(object):
|
| self._temp_socket = None
|
|
|
|
|
| -def GetUnreservedAvailableLocalPort():
|
| - """Returns an available port on the system.
|
| -
|
| - WARNING: This method does not reserve the port it returns, so it may be used
|
| - by something else before you get to use it. This can lead to flake.
|
| - """
|
| - tmp = socket.socket()
|
| - tmp.bind(('', 0))
|
| - port = tmp.getsockname()[1]
|
| - tmp.close()
|
| -
|
| - return port
|
| -
|
| -
|
| def GetBuildDirectories(chrome_root=None):
|
| """Yields all combination of Chromium build output directories."""
|
| # chrome_root can be set to something else via --chrome-root.
|
|
|