Merge pull request #610 from WhyNotHugo/drop-py34

Drop support for Python<3.4 in demo code
This commit is contained in:
Simon McVittie
2023-11-02 19:53:46 +00:00
committed by GitHub

View File

@@ -24,9 +24,8 @@ else:
os.close(pipe_info[0])
os.close(userns_block[1])
if sys.version_info >= (3, 4):
os.set_inheritable(pipe_info[1], True)
os.set_inheritable(userns_block[0], True)
os.set_inheritable(pipe_info[1], True)
os.set_inheritable(userns_block[0], True)
args = ["bwrap",
"bwrap",