0018-misc-fix-missing-parentheses-for-call-in-test-pylint.patch
combo/apps/dataviz/models.py | ||
---|---|---|
434 | 434 |
chart.compute_sum = bool(response.get('measure') == 'integer' and chart.axis_count > 0) |
435 | 435 | |
436 | 436 |
formatter = self.get_value_formatter(response.get('unit'), response.get('measure')) |
437 |
if formatter: |
|
437 |
if formatter is not None:
|
|
438 | 438 |
chart.config.value_formatter = formatter |
439 | 439 | |
440 | 440 |
return x_labels, y_labels, data |
441 |
- |