diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py index 8f9acf9d1abf..56e055b565be 100644 --- a/tools/sched/schedgraph.py +++ b/tools/sched/schedgraph.py @@ -738,9 +738,9 @@ def drawcpu(self, canvas, xpos, ypos): elif (cpu == 2): color = 'light blue' elif (cpu == 3): - color == 'light green' + color = 'light green' else: - color == "white" + color = "white" l = canvas.create_rectangle(self.cpux, ypos - self.ysize() - canvas.bdheight, xpos, ypos + canvas.bdheight, fill=color, width=0,