From 6030f1338e29eb0733a3749b6d31812ca8d9ebc9 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 6 Nov 2005 17:43:25 +0000 Subject: [PATCH] Fix two minor typos that caused schedgraph to exit with an exception when running on traces referencing >2 CPUs. --- tools/sched/schedgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,