Skip to content

Commit 6729597

Browse files
committed
Try to fix Windows CI
1 parent 93c9367 commit 6729597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/update-meson.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _symbol(val: str) -> SymbolNode:
7979

8080
def update_python_sources(self: Rewriter, visitor: AstPython):
8181
for target in visitor.install_sources_calls:
82-
ignored_files = {('src/sage/tests', 'cmdline.py')}
82+
ignored_files = {'cmdline.py'}
8383
# Generate the current source list
8484
src_list: list[str] = []
8585
for arg in arg_list_from_node(target):
@@ -94,7 +94,7 @@ def update_python_sources(self: Rewriter, visitor: AstPython):
9494
to_append: list[StringNode] = []
9595
for file in python_files:
9696
file_name = file.name
97-
if file_name in src_list or (str(folder), file_name) in ignored_files:
97+
if file_name in src_list or file_name in ignored_files:
9898
continue
9999
token = Token("string", target.filename, 0, 0, 0, None, file_name)
100100
to_append += [StringNode(token)]

0 commit comments

Comments
 (0)