File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ def preload_modules(path=None):
3737
3838 for module in modules :
3939 mod = import_module (module .absolute_path )
40- utils ._Loaded_Modules [module .absolute_path ] = mod
40+ utils .modules . _Loaded_Modules [module .absolute_path ] = mod
4141
4242 for attribute in module .attributes :
4343 atr = getattr (mod , attribute .name )
44- utils ._Loaded_Attributes [attribute .name ] = atr
44+ utils .modules . _Loaded_Attributes [attribute .name ] = atr
4545
46- utils ._Loaded_Attributes ["." .join ([module .absolute_path , attribute .name ])] = atr
46+ utils .modules . _Loaded_Attributes ["." .join ([module .absolute_path , attribute .name ])] = atr
4747 if hasattr (attribute , "keywords" ):
4848 for keyword in attribute .keywords :
49- utils ._Loaded_Attributes [keyword ] = atr
49+ utils .modules . _Loaded_Attributes [keyword ] = atr
5050
5151 utils .set_loaded (True )
5252
You can’t perform that action at this time.
0 commit comments