Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Improve log messages for invalid postal code
Browse files Browse the repository at this point in the history
  • Loading branch information
bartromgens committed Feb 20, 2016
1 parent 5b45eb1 commit 4fff7d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion afdelingrondschuif.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_reallocated_members(members):
if afdeling_new != afdeling_old:
reallocated_members.append(member)
else:
ledenlijst.logger.warning('invalid postcode: ' + str(postcode))
ledenlijst.logger.warning('invalid postcode: ' + str(postcode) + ' for member living in ' + member[ledenlijst.WOONPLAATS])

return reallocated_members

Expand Down
1 change: 1 addition & 0 deletions ledenlijst.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
NAAM = 4
GEBDATUM = 6
POSTCODE = 8
WOONPLAATS = 9
EMAIL = 10
REGIO = 12
STEMRECHT = 15
Expand Down

0 comments on commit 4fff7d8

Please sign in to comment.