Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
validators.py: allow team names to contain underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
thilp committed Nov 4, 2019
1 parent 53e5da1 commit 326c458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pierone/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

INCIDENT_PATTERN = re.compile(r'^INC-\d+$')

TEAM_PATTERN_STR = r'[a-z][a-z0-9-]+'
TEAM_PATTERN_STR = r'[a-z][a-z0-9_-]+'
TEAM_PATTERN = re.compile(r'^{}$'.format(TEAM_PATTERN_STR))


Expand Down

0 comments on commit 326c458

Please sign in to comment.