From: Neil Puttock Date: Mon, 21 Dec 2009 21:41:58 +0000 (+0000) Subject: makelsr.py: Normalize titles when updating locally. X-Git-Tag: release/2.13.10-1~111 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2f58946c25fe1f7aab0f53007ac40b03a5f1c06f;p=lilypond.git makelsr.py: Normalize titles when updating locally. --- diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index 001106d327..a31468bfd1 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -209,6 +209,7 @@ def update_ly_in_place (snippet_path): texidoc_translation = open (texidoc_path).read () texidoc_translation = texidoc_translation.replace ('\\', '\\\\') contents = begin_header_re.sub ('\\g<0>\n' + texidoc_translation, contents, 1) + contents = doctitle_re.sub (doctitle_sub, contents) open (snippet_path, 'w').write (contents) if in_dir: