From: Paul Brossier Date: Tue, 3 Dec 2013 16:41:08 +0000 (-0500) Subject: scripts/timeside-launch: fix message when no processor found X-Git-Tag: 0.5.2~10^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=67c038adbfac9adece9a45a185171e144d9838df;p=timeside.git scripts/timeside-launch: fix message when no processor found --- diff --git a/scripts/timeside-launch b/scripts/timeside-launch index 416c5c8..bf0536e 100755 --- a/scripts/timeside-launch +++ b/scripts/timeside-launch @@ -143,7 +143,7 @@ if __name__ == '__main__': matches += filter(lambda x: hasattr(x,'file_extension') and x.file_extension() == id_or_class , processors) if not len(matches): msg = 'ERROR: could not find \'%s\'.' % id_or_class - msg += ' possible values:' + repr(possible_names) + msg += ' possible values:' + repr(processors) raise ValueError(msg) elif len(matches) > 1: msg = 'ERROR: too many matches for \'%s\'.' % id_or_class