eric6/E5XML/TemplatesWriter.py

changeset 7960
e8fc383322f7
parent 7923
91e843545d9a
equal deleted inserted replaced
7959:44e15eda6506 7960:e8fc383322f7
37 37
38 self.writeDTD('<!DOCTYPE Templates SYSTEM "Templates-{0}.dtd">'.format( 38 self.writeDTD('<!DOCTYPE Templates SYSTEM "Templates-{0}.dtd">'.format(
39 templatesFileFormatVersion)) 39 templatesFileFormatVersion))
40 40
41 # add some generation comments 41 # add some generation comments
42 self.writeComment(" eric6 templates file ") 42 self.writeComment(" eric templates file ")
43 self.writeComment( 43 self.writeComment(
44 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S'))) 44 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S')))
45 45
46 # add the main tag 46 # add the main tag
47 self.writeStartElement("Templates") 47 self.writeStartElement("Templates")

eric ide

mercurial