We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ebc85 commit b1e11b5Copy full SHA for b1e11b5
appengine/flexible/memcache/main.py
@@ -24,9 +24,9 @@
24
# [START client]
25
# Environment variables are defined in app.yaml.
26
if os.environ.get('USE_GAE_MEMCACHE'):
27
- MEMCACHE_SERVER = ':'.join(
+ MEMCACHE_SERVER = ':'.join([
28
os.environ.get('GAE_MEMCACHE_HOST', 'localhost'),
29
- os.environ.get('GAE_MEMCACHE_PORT', 11211))
+ os.environ.get('GAE_MEMCACHE_PORT', '11211')])
30
else:
31
MEMCACHE_SERVER = os.environ.get('MEMCACHE_SERVER', 'localhost:11211')
32
0 commit comments