texlive[71442] Build/source/texk/web2c/tests/fix-changefile-lines.py:

commits+ascherer at tug.org commits+ascherer at tug.org
Wed Jun 5 19:28:25 CEST 2024


Revision: 71442
          https://tug.org/svn/texlive?view=revision&revision=71442
Author:   ascherer
Date:     2024-06-05 19:28:25 +0200 (Wed, 05 Jun 2024)
Log Message:
-----------
Reshuffle code amd comment.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py

Modified: trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py
===================================================================
--- trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py	2024-06-05 17:19:20 UTC (rev 71441)
+++ trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py	2024-06-05 17:28:25 UTC (rev 71442)
@@ -166,8 +166,9 @@
                 pattern = "l\\.\\d+"
                 if re.match(pattern, text):
                     text = re.sub(pattern, "", text)
+
+                    # Remove potentially text comment separator.
                     pattern = " -+ "
-                    # Remove potentially text comment separator.
                     if re.match(pattern, text):
                         text = re.sub(pattern, "", text, 1).strip()
 



More information about the tex-live-commits mailing list.