9824: pylint error: 'nrchild' variable not set on this section
was pull request #284
This commit is contained in:
parent
34aefd9530
commit
a0b2cf1803
@ -535,6 +535,7 @@ class FanChartDescWidget(FanChartBaseWidget):
|
|||||||
elif nrparent <= 4:
|
elif nrparent <= 4:
|
||||||
angleinc = math.pi/2
|
angleinc = math.pi/2
|
||||||
else:
|
else:
|
||||||
|
# FIXME: nrchild not set
|
||||||
angleinc = 2 * math.pi / nrchild
|
angleinc = 2 * math.pi / nrchild
|
||||||
for data in self.innerring:
|
for data in self.innerring:
|
||||||
self.draw_innerring(cr, data[0], data[1], startangle, angleinc)
|
self.draw_innerring(cr, data[0], data[1], startangle, angleinc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user