mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
13 lines
259 B
Python
13 lines
259 B
Python
|
import twlang
|
||
|
import sys
|
||
|
|
||
|
if len(sys.argv) < 2:
|
||
|
print("usage: python find_unchanged.py <file>")
|
||
|
sys.exit()
|
||
|
infile = sys.argv[1]
|
||
|
|
||
|
trans = twlang.translations(infile)
|
||
|
for tran, (_, expr, _) in trans.iteritems():
|
||
|
if tran == expr:
|
||
|
print(tran)
|