Skip to content
Myr

Fix dev-server warning message readability (#3168)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by DamianSkrzypczak · committed by David Lord · parent ab3f922 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/cli.py+2 added-2 removed
642 unmodified lines
643 click.echo(' * Environment: {0}'.format(env))644645 if env == 'production':646 click.secho(647 ' WARNING: Do not use the development server in a production'648 ' environment.', fg='red')647 ' WARNING: This is a development server. '648 'Do not use it in a production deployment.', fg='red')649 click.secho(' Use a production WSGI server instead.', dim=True)650651 if debug is not None:652 click.echo(' * Debug mode: {0}'.format('on' if debug else 'off'))
258 unmodified lines