From: fred <fred>
Date: Wed, 27 Mar 2002 01:19:44 +0000 (+0000)
Subject: lilypond-1.4.3
X-Git-Tag: release/1.5.59~620
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7c3cf7acec7de5a896b6d63d9c534fa297d2c2e2;p=lilypond.git

lilypond-1.4.3
---

diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index 8b560e8959..a9e53567ec 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -192,7 +192,7 @@ class LatexPaper:
 	def __setattr__(self, name, value):
 		if type(value) == type("") and \
 		   dimension_conversion_dict.has_key (value[-2:]):
-			f = dimension_conversion_dict[dim]
+			f = dimension_conversion_dict[value[-2:]]
 			self.__dict__[name] = f(float(value[:-2]))
 		else:
 			self.__dict__[name] = value