eric6/E5XML/SessionWriter.py

changeset 7960
e8fc383322f7
parent 7923
91e843545d9a
child 8008
ae9ab1e150dc
child 8009
29818ac4853c
equal deleted inserted replaced
7959:44e15eda6506 7960:e8fc383322f7
53 sessionFileFormatVersion)) 53 sessionFileFormatVersion))
54 54
55 # add some generation comments 55 # add some generation comments
56 if not isGlobal: 56 if not isGlobal:
57 self.writeComment( 57 self.writeComment(
58 " eric6 session file for project {0} ".format(self.name)) 58 " eric session file for project {0} ".format(self.name))
59 self.writeComment( 59 self.writeComment(
60 " This file was generated automatically, do not edit. ") 60 " This file was generated automatically, do not edit. ")
61 if Preferences.getProject("XMLTimestamp") or isGlobal: 61 if Preferences.getProject("XMLTimestamp") or isGlobal:
62 self.writeComment( 62 self.writeComment(
63 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S'))) 63 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S')))

eric ide

mercurial