]> git.parisson.com Git - timeside.git/commitdiff
scripts/timeside-launch: fix message when no processor found
authorPaul Brossier <piem@piem.org>
Tue, 3 Dec 2013 16:41:08 +0000 (11:41 -0500)
committerPaul Brossier <piem@piem.org>
Tue, 3 Dec 2013 16:41:08 +0000 (11:41 -0500)
scripts/timeside-launch

index 416c5c8092b3900b0309ea85d9859397a22f5fa9..bf0536e4ee7d4e57ae5e423cc4e72fc2ac1ee026 100755 (executable)
@@ -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