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
Alexandre Bulté
Validata Core
Commits
204682d2
Commit
204682d2
authored
Mar 01, 2019
by
Pierre Dittgen
Browse files
Fix crash on row errors
parent
5288a4b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_core/__init__.py
View file @
204682d2
...
...
@@ -147,7 +147,7 @@ def amend_report(report):
row_col_set
=
set
()
for
err
in
errors
:
if
err
[
'tag'
]
==
'value'
:
row_col_id
=
'{}_{}'
.
format
(
err
[
'row-number'
],
err
[
'column-number'
]
)
row_col_id
=
'{}_{}'
.
format
(
err
[
'row-number'
],
err
.
get
(
'column-number'
,
''
)
)
if
row_col_id
in
row_col_set
:
continue
row_col_set
.
add
(
row_col_id
)
...
...
Write
Preview
Supports
Markdown
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