Thanks to visit codestin.com Credit goes to github.com
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 7b54943 commit 3fc81ddCopy full SHA for 3fc81dd
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