diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-05 17:28:25 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2024-06-05 17:28:25 +0000 |
commit | 845c4ad6af8875dae97bfc136b819fe6f44b8d01 (patch) | |
tree | 88875664aadba7fdc130361224dad915fb61209c /Build/source/texk/web2c/tests | |
parent | 0f0293e96b4ebba552a6c8d58b301d6eea7893bd (diff) |
Reshuffle code amd comment.
git-svn-id: svn://tug.org/texlive/trunk@71442 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tests')
-rwxr-xr-x | Build/source/texk/web2c/tests/fix-changefile-lines.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/tests/fix-changefile-lines.py b/Build/source/texk/web2c/tests/fix-changefile-lines.py index 92b52c5c441..898a1ed89a2 100755 --- a/Build/source/texk/web2c/tests/fix-changefile-lines.py +++ b/Build/source/texk/web2c/tests/fix-changefile-lines.py @@ -166,8 +166,9 @@ class ChangeReader: pattern = "l\\.\\d+" if re.match(pattern, text): text = re.sub(pattern, "", text) - pattern = " -+ " + # Remove potentially text comment separator. + pattern = " -+ " if re.match(pattern, text): text = re.sub(pattern, "", text, 1).strip() |