Package: jack / 3.1.1+cvs20050801-31

57_feedb_asciiletters.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Now that we call locale.setlocale() (see patch 78_setlocale.patch),
string.letters will contain letters in the user's locale, which breaks
jack.  Just use ASCII instead for now.  In the long run, all of this
code probably needs to be rewritten.

Debian bug #452097

--- a/jack_freedb.py~	2007-11-20 17:19:21.000000000 +0100
+++ b/jack_freedb.py	2007-11-20 17:22:27.000000000 +0100
@@ -598,7 +598,7 @@
     elif cf['_various']:
         found = [[], [], [], [], [], []]
         # lenght=3   2   1 , 3   2   1 (secondary)
-        ignore = string.letters + string.digits
+        ignore = string.ascii_letters + string.digits
         titles = []
         braces = [['"', '"'], ["'", "'"], ["(", ")"], ["[", "]"], ["{", "}"]]