Page MenuHomeDevCentral

D569.diff
No OneTemporary

D569.diff

diff --git a/tools/spreadsheet2json b/tools/spreadsheet2json
--- a/tools/spreadsheet2json
+++ b/tools/spreadsheet2json
@@ -23,9 +23,9 @@
# Reads tabular data file and produce JSON
-with open(source, "r") as file:
+with open(source, "r") as translations_file:
translations = {}
- for line in file:
+ for line in translations_file:
record = line.rstrip().split('\t')
translations[record[0]] = record[1]

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 16:30 (8 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315267
Default Alt Text
D569.diff (438 B)

Event Timeline