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

commits+ascherer at tug.org commits+ascherer at tug.org
Thu Jun 6 18:24:57 CEST 2024


Revision: 71450
          https://tug.org/svn/texlive?view=revision&revision=71450
Author:   ascherer
Date:     2024-06-06 18:24:57 +0200 (Thu, 06 Jun 2024)
Log Message:
-----------
Purge local variables.

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-06 14:53:56 UTC (rev 71449)
+++ trunk/Build/source/texk/web2c/tests/fix-changefile-lines.py	2024-06-06 16:24:57 UTC (rev 71450)
@@ -74,9 +74,8 @@
         # Look for '@i'nclude line
         result = re.match("^@i \"?(\\w+\\.?\\w+)\"?", line)
         if result:
-            include_file = result[1]
-            inc_reader = WebReader(include_file)
-            while inc_line := inc_reader.next_line():
+            inc_reader = WebReader(result[1])
+            while inc_reader.next_line():
                 pass
             self.part_cnt += inc_reader.part_cnt
             self.section_cnt += inc_reader.section_cnt



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