]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix convert rule.
authorNeil Puttock <n.puttock@gmail.com>
Wed, 17 Dec 2008 00:58:32 +0000 (00:58 +0000)
committerNeil Puttock <n.puttock@gmail.com>
Wed, 17 Dec 2008 00:58:32 +0000 (00:58 +0000)
python/convertrules.py

index 3eb3e6427774cc9855a3aa57e096b77c507ee36e..f86165c477abb953ba32da9186146831e7c4a33d 100644 (file)
@@ -2844,17 +2844,18 @@ def conv (str):
         str = re.sub ('InnerChoirStaff', 'ChoirStaff', str)
     return str
 
+@rule ((2, 11, 66), "Syntax changes for \\addChordShape and \\chord-shape")
 def conv(str):
     if re.search(r'\\addChordShape', str):
         stderr_write ("\n")
         stderr_write (NOT_SMART % _("stringTuning must be added to \
-        addChordShape call.\n"))
+addChordShape call.\n"))
         stderr_write (UPDATE_MANUALLY)
         raise FatalConversionError ()
-    if re.search(r'\\chord-shape', str):
+    if re.search (r'\\chord-shape', str):
         stderr_write ("\n")
         stderr_write (NOT_SMART % _("stringTuning must be added to \
-        chord-shape call.\n"))
+chord-shape call.\n"))
         stderr_write (UPDATE_MANUALLY)
         raise FatalConversionError ()
     return str