mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
pybootchartgui: fix overlapping argument in render_processes_chart
There is another variable named 'w' on the function which is redefined. The full width is needed in the function so rename it as this must be unique. (From OE-Core rev: 81389ccdf22d3ea845ae8d894a0e4e0cdf589f2a) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d1dc34bac4
commit
c40b069213
|
@ -620,8 +620,8 @@ def render_charts(ctx, options, clip, trace, curr_y, w, h, sec_w):
|
|||
|
||||
return curr_y
|
||||
|
||||
def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
|
||||
chart_rect = [off_x, curr_y+header_h, w, h - curr_y - 1 * off_y - header_h ]
|
||||
def render_processes_chart(ctx, options, trace, curr_y, width, h, sec_w):
|
||||
chart_rect = [off_x, curr_y+header_h, width, h - curr_y - 1 * off_y - header_h ]
|
||||
|
||||
draw_legend_box (ctx, "Configure", \
|
||||
TASK_COLOR_CONFIGURE, off_x , curr_y + 45, leg_s)
|
||||
|
|
Loading…
Reference in New Issue
Block a user