Merge "Remove unused function"

This commit is contained in:
Zuul 2019-08-18 09:59:41 +00:00 committed by Gerrit Code Review
commit ecbeae721b
1 changed files with 0 additions and 13 deletions

View File

@ -43,19 +43,6 @@ MAX_METADATA_SIZE = 4096
eventlet.monkey_patch()
@contextmanager
def _open_pipe():
"""
Context manager for os.pipe
"""
read_fd, write_fd = os.pipe()
try:
yield (read_fd, write_fd)
finally:
os.close(read_fd)
os.close(write_fd)
"""---------------------------------------------------------------------------
Sandbox API
"""