eric6/E5XML/SessionWriter.py

branch
jsonfiles
changeset 8031
ce5858a237d2
parent 8010
7ce2b8bb0d9b
child 8163
29fb6d420a25
equal deleted inserted replaced
8028:a4f1b68c0737 8031:ce5858a237d2
56 if not isGlobal: 56 if not isGlobal:
57 self.writeComment( 57 self.writeComment(
58 " eric 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("TimestampFile") 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')))
64 64
65 # add the main tag 65 # add the main tag
66 self.writeStartElement("Session") 66 self.writeStartElement("Session")

eric ide

mercurial