Projet

Général

Profil

0018-misc-fix-missing-parentheses-for-call-in-test-pylint.patch

Lauréline Guérin, 30 août 2021 17:53

Télécharger (948 octets)

Voir les différences:

Subject: [PATCH 18/31] misc: fix missing-parentheses-for-call-in-test pylint
 error (#56288)

 combo/apps/dataviz/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-