Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b1e11b5

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎appengine/flexible/memcache/main.py

Copy file name to clipboardExpand all lines: appengine/flexible/memcache/main.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.