Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
97d8614e
Commit
97d8614e
authored
Nov 06, 2018
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
81155a23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
validata_ui/error_messages.py
validata_ui/error_messages.py
+0
-4
No files found.
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