src/eric7/Project/UserProjectFile.py

branch
eric7
changeset 10050
3750abc45d5e
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10049:61a1757626ac 10050:3750abc45d5e
62 62
63 try: 63 try:
64 jsonString = json.dumps(userProjectDict, indent=2) 64 jsonString = json.dumps(userProjectDict, indent=2)
65 with open(filename, "w") as f: 65 with open(filename, "w") as f:
66 f.write(jsonString) 66 f.write(jsonString)
67 except (TypeError, OSError) as err: 67 except (OSError, TypeError) as err:
68 with EricOverridenCursor(): 68 with EricOverridenCursor():
69 EricMessageBox.critical( 69 EricMessageBox.critical(
70 None, 70 None,
71 self.tr("Save User Project Properties"), 71 self.tr("Save User Project Properties"),
72 self.tr( 72 self.tr(

eric ide

mercurial