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

Fixes error message when team name does not validate. #21

Conversation

pfigue
Copy link

@pfigue pfigue commented Nov 20, 2015

#19 was already fixed, but error message was still the old expression.

@@ -21,12 +21,13 @@
output_option = click.option('-o', '--output', type=click.Choice(['text', 'json', 'tsv']), default='text',
help='Use alternative output format')

TEAM_PATTERN = re.compile(r'^[a-z][a-z0-9-]+$')
TEAM_PATTERN_str = r'^[a-z][a-z0-9-]+$'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you use consistent case? (all uppercase)

@pfigue pfigue force-pushed the bug-team-names-with-dash-fix-error-message branch from dd30b5d to ecd56c0 Compare November 23, 2015 08:51
@pfigue pfigue force-pushed the bug-team-names-with-dash-fix-error-message branch from ecd56c0 to 032891b Compare November 23, 2015 18:14
hjacobs added a commit that referenced this pull request Nov 23, 2015
…-message

Fixes error message when team name does not validate.
@hjacobs hjacobs merged commit 2256235 into zalando-stups:master Nov 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants