Revert "Bump utils version for new invalid address character"

This commit is contained in:
David McDonald
2021-06-01 10:53:28 +01:00
committed by GitHub
parent 4f40c12f6e
commit 04e23ca6a9
11 changed files with 67 additions and 51 deletions

View File

@@ -265,7 +265,7 @@ def validate_address(service, letter_data):
)
if address.has_invalid_characters:
raise ValidationError(
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < > ~'
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
)
if address.international:
return address.postage