eric6/MultiProject/MultiProjectFile.py

branch
jsonfiles
changeset 8031
ce5858a237d2
parent 8016
e484fc67677e
child 8218
7c09585bd960
equal deleted inserted replaced
8028:a4f1b68c0737 8031:ce5858a237d2
53 multiProjectDict = {} 53 multiProjectDict = {}
54 multiProjectDict["header"] = { 54 multiProjectDict["header"] = {
55 "comment": f"eric multi project file for multi project {name}", 55 "comment": f"eric multi project file for multi project {name}",
56 } 56 }
57 57
58 # TODO: replace 'XMLTimestamp' by 'Timestamp' 58 if Preferences.getMultiProject("TimestampFile"):
59 if Preferences.getMultiProject("XMLTimestamp"):
60 multiProjectDict["header"]["saved"] = ( 59 multiProjectDict["header"]["saved"] = (
61 time.strftime('%Y-%m-%d, %H:%M:%S') 60 time.strftime('%Y-%m-%d, %H:%M:%S')
62 ) 61 )
63 62
64 multiProjectDict["description"] = self.__multiProject.description 63 multiProjectDict["description"] = self.__multiProject.description

eric ide

mercurial