diff --git a/src/DIRAC/Resources/Catalog/FCConditionParser.py b/src/DIRAC/Resources/Catalog/FCConditionParser.py index 4b2c607b511..137299ac7b4 100644 --- a/src/DIRAC/Resources/Catalog/FCConditionParser.py +++ b/src/DIRAC/Resources/Catalog/FCConditionParser.py @@ -191,7 +191,7 @@ def __init__(self, vo=None, ro_methods=None): """ # Whenever we parse text matching the __pluginOperand grammar, create a PluginOperand object - self.__pluginOperand.setParseAction(lambda tokens: self.PluginOperand(tokens)) + self.__pluginOperand.set_parse_action(lambda tokens: self.PluginOperand(tokens)) self.opHelper = Operations(vo=vo)