From e7a65f289412300566cc221e0c443bcbf175486b Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sat, 16 Jun 2012 17:30:44 +0200 Subject: [PATCH] remove unused variable 'directories' was previously used for the list of paths in \graphicspath which is now useless since copy all covers in ./covers --- songbook.py | 1 - 1 file changed, 1 deletion(-) diff --git a/songbook.py b/songbook.py index 59504d42..0392deb6 100755 --- a/songbook.py +++ b/songbook.py @@ -33,7 +33,6 @@ def matchRegexp(reg, iterable): return [ m.group(1) for m in (reg.match(l) for l in iterable) if m ] def songslist(songs): - directories = set(["img/"] + map(lambda x: "songs/" + os.path.dirname(x), songs)) result = [ '\\input{{songs/{0}}}'.format(s.replace("\\","/").strip()) for s in songs ] return '\n'.join(result)