Compare commits
No commits in common. "333fa21b89270d64bfcf207410a86f39ca8956f1" and "1083818308f5c1b3ff5dc4ada1eb35207ddeaeaa" have entirely different histories.
333fa21b89
...
1083818308
@ -35,7 +35,7 @@ def _update_for_base(
|
||||
with base.with_suffix(".sources").open(mode="r") as file:
|
||||
for line in file:
|
||||
pattern = (
|
||||
re.sub(r"(\*)?:\[.*\]$", "*", line)
|
||||
re.sub(r":\[.*\]$", "*", line)
|
||||
.replace("$nextyear", nextyear)
|
||||
.replace("$thisyear", thisyear)
|
||||
.replace("$lastyear", lastyear)
|
||||
@ -90,8 +90,7 @@ def _update_module_xmllists(languages: list[str], pool: multiprocessing.Pool) ->
|
||||
lambda path: get_basepath(path),
|
||||
filter(
|
||||
lambda path: lang_from_filename(path) in languages,
|
||||
list(site.glob("**/*.*.xml"))
|
||||
+ list(Path("global/").glob("**/*.*.xml")),
|
||||
site.glob("**/*.*.xml"),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user