We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2395178 commit c4b77fbCopy full SHA for c4b77fb
merge.py
@@ -123,9 +123,8 @@ def main():
123
for file in pot_path.glob("**/*.pot")
124
}
125
downstream = {
126
- po
127
- for po in Path(".").glob("**/*.po")
128
- if not (po.is_relative_to(Path("locales")) or po.is_relative_to(Path(".git")))
+ Path(po)
+ for po in run("git", "ls-files", "*.po", stdout=PIPE).stdout.splitlines()
129
130
copy_new_files(upstream - downstream, pot_path=pot_path)
131
update_known_files(upstream & downstream, pot_path=pot_path)
0 commit comments