Commit e87ade5c authored by Peter V. Saveliev's avatar Peter V. Saveliev

netns: Python3 fix

parent 97031128
......@@ -77,13 +77,17 @@ loading this module, dumps the core, one can check the
SELinux state with `getenforce` command.
'''
import io
import os
import os.path
import errno
import ctypes
from pyroute2 import config
from pyroute2.common import basestring
try:
file = file
except NameError:
file = io.IOBase
# FIXME: arch reference
__NR = {'x86_': {'64bit': 308},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment