From: Neil Puttock Date: Wed, 17 Dec 2008 00:58:32 +0000 (+0000) Subject: Fix convert rule. X-Git-Tag: release/2.12.0-1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=581c7ab6260e3b3f9b92033b4363efcebdd04ab3;p=lilypond.git Fix convert rule. --- diff --git a/python/convertrules.py b/python/convertrules.py index 3eb3e64277..f86165c477 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -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