Skip to content
Myr

Use better formula to determine local GAE environment

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

authored by Zachery Bir · committed by Zachery Bir · parent 10c5e79 · 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:click/_compat.py+3 added-1 removed
6 unmodified lines
789PY2 = sys.version_info[0] == 210CYGWIN = sys.platform.startswith('cygwin')11APP_ENGINE = os.environ.get('SERVER_SOFTWARE', '').startswith('Development')11# Determine local App Engine environment, per Google's own suggestion12APP_ENGINE = ('APPENGINE_RUNTIME' in os.environ and13 'Development/' in os.environ['SERVER_SOFTWARE'])14WIN = sys.platform.startswith('win') and not APP_ENGINE15DEFAULT_COLUMNS = 801617
680 unmodified lines