From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Fri, 13 Feb 2004 08:01:43 +0000 (+0000)
Subject: fix
X-Git-Tag: release/2.1.23~15
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6c2ed7638d56ad8375a6b19b7a52985dab669c29;p=lilypond.git

fix
---

diff --git a/ChangeLog b/ChangeLog
index e5a56d2e0d..33efc29c75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-13  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+	* scripts/lilypond-book.py (compile-ly): python2.1 fix.
+
 2004-02-13  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
 	* make/ly-rules.make ($(outdir)/%.pdf): add DVIPS_FLAGS. This will
diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index 36deca86c2..8849394a7c 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -333,7 +333,7 @@ def compose_ly (code, options):
 			override[key] = value
 		else:
 			key = i
-			if i not in override:
+			if i not in override.keys ():
 				override[i] = None
 
 		if key in ly_options[NOTES].keys ():