Skip to content

Commit

Permalink
Merge pull request #970 from nens/965-leaving-v2_pumpstationtype-empt…
Browse files Browse the repository at this point in the history
…y-gives-python-error

fetch column key instead of name when running the modelchecker
  • Loading branch information
leendertvanwolfswinkel authored Dec 21, 2023
2 parents 7025848 + de16481 commit 8859240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
2.5.6 (unreleased)
------------------

- Nothing changed yet.
- Fetch check.column.key when running the modelchecker so checks don't fail on models.Pumpstation.type.


2.5.5 (2023-09-21)
Expand Down
2 changes: 1 addition & 1 deletion processing/schematisation_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def processAlgorithm(self, parameters, context, feedback):
error_row.id,
check.table.name,
check.column.name,
getattr(error_row, check.column.name),
getattr(error_row, check.column.key),
check.description(),
]
)
Expand Down

0 comments on commit 8859240

Please sign in to comment.