]> git.donarmstrong.com Git - lilypond.git/commitdiff
(find_toplevel_snippets): don't use
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Jun 2006 10:24:23 +0000 (10:24 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Jun 2006 10:24:23 +0000 (10:24 +0000)
generator expressions (2.3 compat).

ChangeLog
scripts/lilypond-book.py

index c8e52020c9ea22c67dc7664988e60a389bd395af..8cea113520e49391dac00695c43f5bd228fed184 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-09  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * scripts/lilypond-book.py (find_toplevel_snippets): don't use
+       generator expressions (2.3 compat). 
+
 2006-06-09  Mats Bengtsson  <mabe@drongo.s3.kth.se>
 
        * lily/vertical-align-engraver.cc: Make sure that the
index e9bb199835b69eb0ffc445c9cf0df51a7dab36a5..98dba9db583581cb374701f09beb67a9c47364b4 100644 (file)
@@ -1265,7 +1265,7 @@ def find_toplevel_snippets (s, types):
 
     snippets = []
     index = 0
-    found = dict ((t, None) for t in types)
+    found = dict ([(t, None) for t in types])
 
     line_starts = find_linestarts (s)
     line_start_idx = 0