Commit 52ceb4a7 authored by Moritz Huebner's avatar Moritz Huebner

Merge branch 'loadedmodules' into 'master'

utils.py: explicitly convert module keys to a list

See merge request lscsoft/bilby!920
parents 762568df 5f5cbbd5
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment