E5XML/SessionWriter.py

branch
6_0_x
changeset 4462
1085a59b143e
parent 4022
f5f42921717e
child 4631
5c1a96925da4
equal deleted inserted replaced
4460:3168cf53729c 4462:1085a59b143e
138 # step 2b: save all watch expressions 138 # step 2b: save all watch expressions
139 self.writeStartElement("Watchexpressions") 139 self.writeStartElement("Watchexpressions")
140 wpModel = self.dbs.getWatchPointModel() 140 wpModel = self.dbs.getWatchPointModel()
141 for row in range(wpModel.rowCount()): 141 for row in range(wpModel.rowCount()):
142 index = wpModel.index(row, 0) 142 index = wpModel.index(row, 0)
143 cond, temp, enabled, count, special = \ 143 cond, special, temp, enabled, count = \
144 wpModel.getWatchPointByIndex(index)[:5] 144 wpModel.getWatchPointByIndex(index)[:5]
145 self.writeStartElement("Watchexpression") 145 self.writeStartElement("Watchexpression")
146 self.writeTextElement("Condition", str(cond)) 146 self.writeTextElement("Condition", str(cond))
147 self.writeEmptyElement("Temporary") 147 self.writeEmptyElement("Temporary")
148 self.writeAttribute("value", str(temp)) 148 self.writeAttribute("value", str(temp))

eric ide

mercurial