Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 703baf7

Browse filesBrowse files
committed
Add current working directory to file path
* Avoid a path checking thrown by git show (will lead to crash)
1 parent 52bb30c commit 703baf7
Copy full SHA for 703baf7

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎scripts/fix_diffs.py

Copy file name to clipboardExpand all lines: scripts/fix_diffs.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ def main(fp, original_po_commit='HEAD'):
9494

9595
if __name__ == '__main__':
9696
import sys
97+
9798
if len(sys.argv) < 2:
9899
print('Usage: python fix_diffs.py <po_file_path> <original_po_file_commit_hash>')
99100

100-
fp = sys.argv[1]
101+
fp = './' + sys.argv[1]
101102
output_lines = None
102103
if len(sys.argv) == 3:
103104
original_hash = sys.argv[2]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.