Skip to content
Snippets Groups Projects

utils.py: explicitly convert module keys to a list

Merged Matthew Pitkin requested to merge matthew-pitkin/bilby:loadedmodules into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -1250,7 +1250,7 @@ def get_function_path(func):
def loaded_modules_dict():
module_names = sys.modules.keys()
module_names = list(sys.modules.keys())
vdict = {}
for key in module_names:
if "." not in key:
Loading