Remove unused function
This patch drops _open_pipe function, which is not used in anywhere. TrivialFix Change-Id: I6c54e5783898ea997e53ba023df7a8d675920965
This commit is contained in:
parent
905956ff81
commit
ec9b0406ad
@ -43,19 +43,6 @@ MAX_METADATA_SIZE = 4096
|
|||||||
eventlet.monkey_patch()
|
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
|
Sandbox API
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user