Skip to content

Commit

Permalink
typo: danshes -> dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
fenekku committed Feb 19, 2020
1 parent af55c9f commit 6d60e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_files_rest/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def validate_name(self, key, name):
"""Validate name."""
if not slug_pattern.match(name) or len(name) > 20:
raise ValueError(
'Invalid location name (lower-case alphanumeric + danshes).')
'Invalid location name (lower-case alphanumeric + dashes).')
return name

@classmethod
Expand Down

0 comments on commit 6d60e40

Please sign in to comment.