Fix two minor typos that caused schedgraph to exit with an exception

when running on traces referencing >2 CPUs.
This commit is contained in:
Robert Watson 2005-11-06 17:43:25 +00:00
parent 49d46b616e
commit 6030f1338e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152131

View File

@ -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,