Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4014422
D569.id1515.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
438 B
Referenced Files
None
Subscribers
None
D569.id1515.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 20:47 (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2354520
Default Alt Text
D569.id1515.diff (438 B)
Attached To
Mode
D569: Avoid shadow variable name
Attached
Detach File
Event Timeline
Log In to Comment