cue: fix issue introduced in 35f5befa

- was leading to jobs failing if setup file was
  not found in the first directory of search path
This commit is contained in:
Ralph Lange
2020-06-15 14:16:16 +02:00
parent 4690a977df
commit 3d3f06d84c

6
cue.py
View File

@@ -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)