From 0ad764c99ce79a205bde1b87037f3abec6cbcc2f Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Fri, 30 Apr 2021 15:31:48 +0200 Subject: [PATCH] Add missing change to recurseImport --- src/DIRAC/Core/Utilities/ObjectLoader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/Core/Utilities/ObjectLoader.py b/src/DIRAC/Core/Utilities/ObjectLoader.py index 4397927a5fb..5d6376af9ed 100644 --- a/src/DIRAC/Core/Utilities/ObjectLoader.py +++ b/src/DIRAC/Core/Utilities/ObjectLoader.py @@ -171,7 +171,7 @@ def getObjects(self, modulePath, reFilter=None, parentClass=None, recurse=False, if modKeyName in modules: continue fullName = "%s.%s" % (impPath, modName) - result = recurseImport(modName, parentModule=parentModule, fullName=fullName) + result = recurseImport(fullName) if not result['OK']: if continueOnError: gLogger.error("Error loading module but continueOnError is true", "module %s error %s" % (fullName, result))