Commit 97d8614e authored by Pierre Dittgen's avatar Pierre Dittgen

Remove dead code

parent 81155a23
......@@ -108,10 +108,6 @@ def pattern_constraint(err, headers, schema):
def required_constraint(err, headers, schema):
""" required-constraint error """
col_name = ''
col_nb = err['column-number']
if col_nb <= len(headers):
col_name = ' "{}"'.format(headers[col_nb - 1])
return u_err(err, 'Cellule vide', 'Une valeur doit être renseignée.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment