From 82baefe8f2cf3a62d31cf2838a6bc97c5533d05c Mon Sep 17 00:00:00 2001 From: Wainer Vandelli <Wainer.Vandelli@cern.ch> Date: Fri, 28 Feb 2014 09:15:26 +0000 Subject: [PATCH] dl module is gone in python 2.7 --- Script/CastorScript.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Script/CastorScript.py b/Script/CastorScript.py index 511a283..3acd6d3 100755 --- a/Script/CastorScript.py +++ b/Script/CastorScript.py @@ -3,10 +3,6 @@ __version__='$Revision$' # $Source$ -import sys, dl -sys.setdlopenflags(dl.RTLD_LAZY|dl.RTLD_GLOBAL) - - from ManagerThread import ManagerThread from CopyThread import CopyThread from DeleteThread import DeleteThread @@ -20,6 +16,7 @@ from time import sleep from time import time import threading import os.path +import sys from os import environ, getenv, umask import datetime import signal -- GitLab