Salome HOME
Python 3 porting
[samples/pycalculator.git] / src / PYCALCULATOR / PYCALCULATOR.py
index 369fc2ae788687fefd8552d0bad7ef01aa960541..9fcb60141cf00f287ca593399877603ca7206807 100755 (executable)
@@ -29,8 +29,8 @@
 # This is necessary to ensure that different modules will have the same definition
 # of dynamic types and C++ RTTI will work between them
 #
-import DLFCN, sys
-sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
+import os, sys
+sys.setdlopenflags(os.RTLD_NOW | os.RTLD_GLOBAL)
 
 import PYCALCULATOR_ORB__POA
 import SALOME_ComponentPy