From d921641a78d0d65838e85b569d5473745a1ae8ad Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Fri, 20 Oct 2023 14:10:30 +1300 Subject: [PATCH] Update cylc/flow/config.py Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> --- cylc/flow/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cylc/flow/config.py b/cylc/flow/config.py index b31119c1350..4ada6044a28 100644 --- a/cylc/flow/config.py +++ b/cylc/flow/config.py @@ -1787,7 +1787,7 @@ def generate_triggers(self, lexpression, left_nodes, right, seq, ) # Call the xtrigger's validate_config function if it has one. - with suppress(AttributeError): + with suppress(AttributeError, ImportError): get_func(xtrig.func_name, "validate_config", self.fdir)( xtrig.func_args, xtrig.func_kwargs,