(self, task)
| 60 | # self.parse_resources_xml(project) |
| 61 | |
| 62 | def parse_relationship_xml(self, task): |
| 63 | relationships = {} |
| 64 | id = 0 |
| 65 | if task.findall("pr:PredecessorLink", self.ns): |
| 66 | for relationship in task.findall("pr:PredecessorLink", self.ns): |
| 67 | relationships[id] = { |
| 68 | "PredecessorTask": relationship.find("pr:PredecessorUID", self.ns).text, |
| 69 | "Type": relationship.find("pr:Type", self.ns).text, |
| 70 | } |
| 71 | id += 1 |
| 72 | return relationships |
| 73 | |
| 74 | def parse_task_xml(self, project): |
| 75 | if self.project["MinutesPerDay"]: |