From 581c7ab6260e3b3f9b92033b4363efcebdd04ab3 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Wed, 17 Dec 2008 00:58:32 +0000 Subject: [PATCH] Fix convert rule. --- python/convertrules.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.2