E5XML/TasksReader.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3035
36e9f388958b
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
80 "created": 0, 80 "created": 0,
81 "filename": "", 81 "filename": "",
82 "linenumber": 0, 82 "linenumber": 0,
83 "type": Task.TypeTodo, 83 "type": Task.TypeTodo,
84 "description": "", 84 "description": "",
85 } 85 }
86 task["priority"] = int(self.attribute("priority", "1")) 86 task["priority"] = int(self.attribute("priority", "1"))
87 task["completed"] = self.toBool(self.attribute("completed", "False")) 87 task["completed"] = self.toBool(self.attribute("completed", "False"))
88 if self.version in ["4.2", "5.0"]: 88 if self.version in ["4.2", "5.0"]:
89 isBugfix = self.toBool(self.attribute("bugfix", "False")) 89 isBugfix = self.toBool(self.attribute("bugfix", "False"))
90 if isBugfix: 90 if isBugfix:

eric ide

mercurial