Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
97d8614e
Commit
97d8614e
authored
Nov 06, 2018
by
Pierre Dittgen
Browse files
Remove dead code
parent
81155a23
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/error_messages.py
View file @
97d8614e
...
...
@@ -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.'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment