X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fconvertrules.py;fp=python%2Fconvertrules.py;h=fa63726069269c30b9581fe1bff94e87adc75bfa;hb=5b1f3adfe5e3561eaa0f9440e0697054084b7107;hp=78512310c30c35d6bd9513852423a3f14858fc18;hpb=0fef477419a8872759bfed4c1cf8e66f68db1104;p=lilypond.git diff --git a/python/convertrules.py b/python/convertrules.py index 78512310c3..fa63726069 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3385,6 +3385,12 @@ def conv (str): def conv (str): return str +@rule ((2, 17, 0), r"blank-*-force -> blank-*-penalty") +def conv (str): + str = re.sub ('blank-page-force', 'blank-page-penalty', str) + str = re.sub ('blank-last-page-force', 'blank-last-page-penalty', str) + str = re.sub ('blank-after-score-page-force', 'blank-after-score-page-penalty', str) + return str # Guidelines to write rules (please keep this at the end of this file) #