mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[trac1030] place the added path at the beginning of the list
if in any of the other paths there was an old log.so, it would choose that otherwise
This commit is contained in:
@@ -28,9 +28,9 @@ import sys
|
||||
cwd = os.getcwd()
|
||||
base = os.path.split(cwd)[0]
|
||||
|
||||
for base in sys.path:
|
||||
for base in sys.path[:]:
|
||||
loglibdir = os.path.join(base, 'isc/log/.libs')
|
||||
if os.path.exists(loglibdir):
|
||||
sys.path.append(loglibdir)
|
||||
sys.path.insert(0, loglibdir)
|
||||
|
||||
from log import *
|
||||
|
Reference in New Issue
Block a user