Skip to content

Commit e129f18

Browse files
cocodripszacbir
authored andcommitted
Fix Google App Engine ImportError.
1 parent ea213fc commit e129f18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

click/_compat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77

88

99
PY2 = sys.version_info[0] == 2
10-
WIN = sys.platform.startswith('win')
1110
CYGWIN = sys.platform.startswith('cygwin')
11+
APP_ENGINE = os.environ.get('SERVER_SOFTWARE','').startswith('Development')
12+
WIN = sys.platform.startswith('win') and not APP_ENGINE
1213
DEFAULT_COLUMNS = 80
1314

1415

0 commit comments

Comments
 (0)