E5XML/SessionWriter.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
66 self.writeAttribute("version", sessionFileFormatVersion) 66 self.writeAttribute("version", sessionFileFormatVersion)
67 67
68 # step 0: save open multi project and project for the global session 68 # step 0: save open multi project and project for the global session
69 if isGlobal: 69 if isGlobal:
70 if self.multiProject.isOpen(): 70 if self.multiProject.isOpen():
71 self.writeTextElement("MultiProject", 71 self.writeTextElement(
72 self.multiProject.getMultiProjectFile()) 72 "MultiProject", self.multiProject.getMultiProjectFile())
73 if self.project.isOpen(): 73 if self.project.isOpen():
74 self.writeTextElement("Project", self.project.getProjectFile()) 74 self.writeTextElement("Project", self.project.getProjectFile())
75 75
76 # step 1: save all open (project) filenames and the active window 76 # step 1: save all open (project) filenames and the active window
77 allOpenFiles = self.vm.getOpenFilenames() 77 allOpenFiles = self.vm.getOpenFilenames()

eric ide

mercurial