Skip to content
Myr

add werkzeug to flask --version

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

authored by Dilan Coss · committed by David Lord · parent 0f56c0c · Browse files · 1 file+3 added−1 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+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:flask/cli.py+3 added-1 removed
19 unmodified lines
20import traceback21from functools import update_wrapper22from operator import attrgetter23from threading import Lock, Thread24import werkzeug2526import click27from werkzeug.utils import import_string28
230 unmodified lines
259260def get_version(ctx, param, value):261 if not value or ctx.resilient_parsing:262 return262 message = 'Flask %(version)s\nPython %(python_version)s'263 message = 'Python %(python_version)s\nFlask %(version)s\nWerkzeug %(werkzeug_version)s'264 click.echo(message % {265 'version': __version__,266 'python_version': sys.version,267 'werkzeug_version': werkzeug.__version__,268 }, color=ctx.color)269 ctx.exit()270271
634 unmodified lines