From 12d769835e1ee88e94b5b0b4bc0cf7068e678064 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 15 Jun 2020 14:16:16 +0200 Subject: [PATCH] cue: fix issue introduced in 35f5befa - was leading to jobs failing if setup file was not found in the first directory of search path --- cue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cue.py b/cue.py index 34d59ad..1ac9a0b 100644 --- a/cue.py +++ b/cue.py @@ -271,9 +271,9 @@ def source_set(name): setup[assign[0]] = assign[1] logger.debug('Done with setup file %s', set_file) break - else: - raise NameError("{0}Setup file {1}.set does not exist in SETUP_PATH search path ({2}){3}" - .format(ANSI_RED, name, setup_dirs, ANSI_RESET)) + else: + raise NameError("{0}Setup file {1}.set does not exist in SETUP_PATH search path ({2}){3}" + .format(ANSI_RED, name, setup_dirs, ANSI_RESET)) # update_release_local(var, location)