additional python 2/3 agnosticism

master
Max 3 years ago
parent 92ba1df2c0
commit 8b00b8459a
  1. 6
      op25/gr-op25/python/__init__.py
  2. 6
      op25/gr-op25_repeater/python/__init__.py

@ -31,9 +31,9 @@ try:
from dl import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
try:
from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
pass
pass
if _RTLD_GLOBAL != 0:
_dlopenflags = sys.getdlopenflags()
@ -42,7 +42,7 @@ if _RTLD_GLOBAL != 0:
# import swig generated symbols into the op25 namespace
from op25_swig import *
from .op25_swig import *
# import any pure python here
#

@ -31,9 +31,9 @@ try:
from dl import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
try:
from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
pass
pass
if _RTLD_GLOBAL != 0:
_dlopenflags = sys.getdlopenflags()
@ -42,7 +42,7 @@ if _RTLD_GLOBAL != 0:
# import swig generated symbols into the op25_repeater namespace
from op25_repeater_swig import *
from .op25_repeater_swig import *
# import any pure python here
#

Loading…
Cancel
Save