From 35f5befa9d06caea5e882410e57b9e3311aaf279 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Wed, 10 Jun 2020 14:49:26 +0200 Subject: [PATCH] cue: fix misleading error message (setup file not found) --- cue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cue.py b/cue.py index 90ef143..3d8874d 100644 --- a/cue.py +++ b/cue.py @@ -254,9 +254,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} 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)