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 703baf7 commit d9d9612Copy full SHA for d9d9612
1 file changed
scripts/fix_diffs.py
@@ -54,7 +54,7 @@ def get_msgs(lines):
54
return msgids, msgstrs
55
56
def main(fp, original_po_commit='HEAD'):
57
- p = subprocess.Popen(['git', 'show', '{}:'.format(original_po_commit) + fp], stdout=subprocess.PIPE)
+ p = subprocess.Popen(['git', 'show', f'{original_po_commit}:{fp}'], stdout=subprocess.PIPE)
58
out, err = p.communicate()
59
head_po = out.decode().splitlines()
60
msgids, msgstrs = get_msgs(head_po)
0 commit comments