From 68222fcf2467807add577867f796241d435ed897 Mon Sep 17 00:00:00 2001 From: Greg Ashton <gregory.ashton@ligo.org> Date: Thu, 13 Jan 2022 14:51:14 +0000 Subject: [PATCH] Apply patch from https://git.ligo.org/lscsoft/bilby/-/issues/612 --- bilby/core/utils/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bilby/core/utils/log.py b/bilby/core/utils/log.py index 999aa445a..d9db7581c 100644 --- a/bilby/core/utils/log.py +++ b/bilby/core/utils/log.py @@ -73,6 +73,6 @@ def loaded_modules_dict(): module_names = list(sys.modules.keys()) vdict = {} for key in module_names: - if "." not in key: + if "." not in str(key): vdict[key] = str(getattr(sys.modules[key], "__version__", "N/A")) return vdict -- GitLab