88 projectDict["project"][key] = FileSystemUtilities.fromNativeSeparators( |
88 projectDict["project"][key] = FileSystemUtilities.fromNativeSeparators( |
89 projectDict["project"][key] |
89 projectDict["project"][key] |
90 ) |
90 ) |
91 |
91 |
92 try: |
92 try: |
93 jsonString = json.dumps(projectDict, indent=2, sort_keys=True) |
93 jsonString = json.dumps(projectDict, indent=2, sort_keys=True) + "\n" |
94 with open(filename, "w", newline="") as f: |
94 with open(filename, "w", newline="") as f: |
95 f.write(jsonString) |
95 f.write(jsonString) |
96 except (OSError, TypeError) as err: |
96 except (OSError, TypeError) as err: |
97 with EricOverridenCursor(): |
97 with EricOverridenCursor(): |
98 EricMessageBox.critical( |
98 EricMessageBox.critical( |