Skip to content
Myr

Merge pull request #995 from zacbir/gae-bug

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

Fix Google App Engine ImportError.

authored by Zachery Bir · committed by GitHub · parents ea213fc, 9b7ffd7 · Browse files · 1 file+4 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+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:click/_compat.py+4 added-1 removed
5 unmodified lines
6from weakref import WeakKeyDictionary789PY2 = sys.version_info[0] == 210WIN = sys.platform.startswith('win')10CYGWIN = sys.platform.startswith('cygwin')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 = 80161718_ansi_re = re.compile(r'\033\[((?:\d|;)*)([a-zA-Z])')
679 unmodified lines