Drop support for Python<3.4 in demo code
This version of python reached its EOL in March 2019. Signed-off-by: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
This commit is contained in:
parent
7816e01298
commit
d165751294
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue