Skip to content
Myr

Don't suggest to run application under Python 2

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

This message is invalid for Python 3 only apps. I know that developers should do their own error handling, but this error could confusing to users where such error handling was not done.

authored by Johnny Robeson · committed by Johnny Robeson · parent 501b641 · Browse files · 1 file+2 added−3 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−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:click/_unicodefun.py+2 added-3 removed
112 unmodified lines
113 ) % bad_locale114115 raise RuntimeError('Click will abort further execution because Python 3 '116 'was configured to use ASCII as encoding for the '117 'environment. Either run this under Python 2 or '118 'consult http://click.pocoo.org/python3/ for '119 'mitigation steps.' + extra)117 'environment. Consult http://click.pocoo.org/python3/'118 'for mitigation steps.' + extra)