Fix two minor typos that caused schedgraph to exit with an exception
when running on traces referencing >2 CPUs.
This commit is contained in:
parent
33ac50a107
commit
192c946ba5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user