This now work with an otp2 build.. good for py item leaks..

This commit is contained in:
Roger Hughston 2005-11-29 20:45:48 +00:00
parent 80ac41f598
commit 5ead01d7e5

View File

@ -183,6 +183,18 @@ for package in packages:
except: except:
isModule = 0 isModule = 0
#
# RHH.... hack OPT2 .. py debug libraries...
#
if not isModule:
# debug py library magin naming in windows..
basename = basename.replace('_d','')
try:
__import__(basename, globals(), locals())
isModule = 1
except:
isModule = 0
if isModule: if isModule:
if basename not in DoGenPyCode.codeLibs: if basename not in DoGenPyCode.codeLibs:
DoGenPyCode.codeLibs.append(basename) DoGenPyCode.codeLibs.append(basename)