Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit703baf7

Browse files
committed
Add current working directory to file path
* Avoid a path checking thrown by git show (will lead to crash)
1 parent52bb30c commit703baf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎scripts/fix_diffs.py

Lines 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
importsys
97+
9798
iflen(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
iflen(sys.argv)==3:
103104
original_hash=sys.argv[2]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp