Projet

Général

Profil

0001-csv_import-make-sure-has_errors-is-toggled-35773.patch

Valentin Deniaud, 14 octobre 2019 16:20

Télécharger (942 octets)

Voir les différences:

Subject: [PATCH 1/2] csv_import: make sure has_errors is toggled (#35773)

 src/authentic2/csv_import.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/csv_import.py
296 296
                                row.is_valid = False
297 297
                        except CancelImport:
298 298
                            self.rows_with_errors += 1
299
                        if row.errors:
299
                        if row.errors or not row.is_valid:
300 300
                            self.has_errors = True
301 301
                    if simulate:
302 302
                        raise Simulate
303
-