Jim,

Do you have example how to use builtin python module to solve this issue?  

Regards,

Amy Lin
WebSphere Scripting/ConfigService Development/Scripting Architect
amylin@us.ibm.com
Phone: 286-7245, T/L: 363-7245




From:        Jim Baker <report@bugs.jython.org>
To:        Amy Lin/Austin/IBM@IBMUS
Date:        09/08/2016 06:47 PM
Subject:        [issue2497] NameError: global name 'AdminConfig' is not defined in jython 2.7





Jim Baker added the comment:

I believe the solution is to use the builtins Python module, instead of reaching into Jython's runtime.

There are other solutions for supporting global data in Jython, scoped as necessary.

_______________________________________
Jython tracker <report@bugs.jython.org>
<
http://bugs.jython.org/issue2497>
_______________________________________