45 @param taskType type of the task (one of TypeFixme, TypeTodo, |
47 @param taskType type of the task (one of TypeFixme, TypeTodo, |
46 TypeWarning, TypeNote) |
48 TypeWarning, TypeNote) |
47 @param project reference to the project object (Project) |
49 @param project reference to the project object (Project) |
48 @param description explanatory text of the task (string) |
50 @param description explanatory text of the task (string) |
49 """ |
51 """ |
50 super().__init__() |
52 super(Task, self).__init__() |
51 |
53 |
52 self.summary = summary |
54 self.summary = summary |
53 self.description = description |
55 self.description = description |
54 if priority in [0, 1, 2]: |
56 if priority in [0, 1, 2]: |
55 self.priority = priority |
57 self.priority = priority |