src/eric7/EricXML/ProjectReader.py

branch
eric7
changeset 9626
5bb5c85d71c3
parent 9624
b47dfa7a137d
child 9653
e67609152c5e
equal deleted inserted replaced
9625:2c760cdc6b64 9626:5bb5c85d71c3
36 36
37 def readXML(self): 37 def readXML(self):
38 """ 38 """
39 Public method to read and parse the XML document. 39 Public method to read and parse the XML document.
40 """ 40 """
41 fileCategoryTags = [s.capitalize() for s in self.project.getFileCategories()] 41 fileCategoryTags = [
42 s.capitalize() for s in self.project.getFileCategories()
43 ] + ["Interfaces", "Protocols"]
44 # The XML project files always included these.
42 45
43 while not self.atEnd(): 46 while not self.atEnd():
44 self.readNext() 47 self.readNext()
45 if self.isStartElement(): 48 if self.isStartElement():
46 if self.name() == "Project": 49 if self.name() == "Project":

eric ide

mercurial