Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3942567
D569.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.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
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)
Attached To
Mode
D569: Avoid shadow variable name
Attached
Detach File
Event Timeline
Log In to Comment