|
|
|
|
519
|
if reimport or fullname not in cls.__imports_cache[ctx_id]:
|
519
|
if reimport or fullname not in cls.__imports_cache[ctx_id]:
|
520
|
cls.__imports_cache[ctx_id][fullname] = importlib.import_module(
|
520
|
cls.__imports_cache[ctx_id][fullname] = importlib.import_module(
|
521
|
fullname)
|
521
|
fullname)
|
522
|
- elif not reimport:
|
|
|
523
|
- print("NOT REIMPORTING %s" % fullname)
|
|
|
524
|
return cls.__imports_cache[ctx_id][fullname]
|
522
|
return cls.__imports_cache[ctx_id][fullname]
|
525
|
|
523
|
|
526
|
##@brief Utility mehod to expose objects like in a from x import y,z
|
524
|
##@brief Utility mehod to expose objects like in a from x import y,z
|