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: |