summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tests
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2024-06-05 17:28:25 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2024-06-05 17:28:25 +0000
commit845c4ad6af8875dae97bfc136b819fe6f44b8d01 (patch)
tree88875664aadba7fdc130361224dad915fb61209c /Build/source/texk/web2c/tests
parent0f0293e96b4ebba552a6c8d58b301d6eea7893bd (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-xBuild/source/texk/web2c/tests/fix-changefile-lines.py3
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()