class Crit_Report(report.Critical):
data = project
def make_report(self, data):
for t in data:
yield (t.indent_name(), t.start, t.end, t.buffer)
class Crit_Gantt(gantt.Critial):
data = project
These two objects, highlight the critical tasks by, changing their
background colors
class Crit_Report(report.Critical):
data = project
colors = { 0:"red", "5d" : "orange" }
def make_report(self, data):
for t in data:
yield (t.indent_name(), t.start, t.end, t.buffer)
class Crit_Gantt(gantt.Critial):
data = project
colors = { 0:"red", "5d" : "orange" }
The new additions