Skip to content

Commit b1e11b5

Browse files
author
Jon Wayne Parrott
committed
Fix memcache sample
Change-Id: Ie8265ffe645c894ce7111e788e07e7497c4d3dce
1 parent e5ebc85 commit b1e11b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appengine/flexible/memcache/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# [START client]
2525
# Environment variables are defined in app.yaml.
2626
if os.environ.get('USE_GAE_MEMCACHE'):
27-
MEMCACHE_SERVER = ':'.join(
27+
MEMCACHE_SERVER = ':'.join([
2828
os.environ.get('GAE_MEMCACHE_HOST', 'localhost'),
29-
os.environ.get('GAE_MEMCACHE_PORT', 11211))
29+
os.environ.get('GAE_MEMCACHE_PORT', '11211')])
3030
else:
3131
MEMCACHE_SERVER = os.environ.get('MEMCACHE_SERVER', 'localhost:11211')
3232

0 commit comments

Comments
 (0)