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 c1a0135 commit f5e5051Copy full SHA for f5e5051
.github/scripts/get_translated_strings_between_commits.py
@@ -17,10 +17,9 @@ def run_git_command(command):
17
18
def get_translated_commit_strings(commit_hash):
19
try:
20
- commit_files = run_git_command(f"git switch {commit_hash} --detach")
21
- with commit_files as cf:
22
- output = os.popen(f"pocount *.po **/*.po").read()
23
- print(output)
+ run_git_command(f"git switch {commit_hash} --detach")
+ output = os.popen(f"pocount *.po **/*.po").read()
+ print(output)
24
# changed_files = run_git_command(f"git diff-tree --no-commit-id --name-only {commit_hash} -r").split("\n")
25
# changed_files.remove("")
26
# changed_count = 0
0 commit comments