Package: jack / 3.1.1+cvs20050801-31

43_string_option.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
option is already a string, so don't convert it to a string again,
otherwise we get multiple quotation marks.

122:tbm@deception: ~/tmp/jack/in_bloom_cd1] jack -g
This is jack 3.1.1 (C)2004 Arne Zellentin <zarne@users.sf.net>
 *error* option `'guess_mp3s'' takes a non-empty list (which may be terminated
         by ";")
zsh: exit 1     jack -g


diff -urN orig/jack_argv.py jack-3.1.1+cvs20050801/jack_argv.py
--- orig/jack_argv.py	2006-02-27 12:38:42.000000000 +0000
+++ jack-3.1.1+cvs20050801/jack_argv.py	2006-02-27 12:39:04.000000000 +0000
@@ -148,7 +148,7 @@
         if l and type(l) == types.ListType:
             return i, l
         else:
-            return None, "option `%s' takes a non-empty list (which may be terminated by \";\")" % `option`
+            return None, "option `%s' takes a non-empty list (which may be terminated by \";\")" % option
     # default
     return None, "unknown argument type for option `%s'." % option