Skip to content

Commit

Permalink
Formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Evans committed Jul 25, 2016
1 parent d2818be commit 1de1326
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ def include_file_raw(name):

# CURRENT_VERSION_ID format is version.hash, where version is the
# app version passed to the deploy script.
MEMCACHE_PREFIX = 'no_version/'
if 'CURRENT_VERSION_ID' in os.environ:
MEMCACHE_PREFIX = os.environ.get('CURRENT_VERSION_ID').split('.')[0] + '/'
else:
MEMCACHE_PREFIX = 'no_version/'

REDIRECTS_FILE = 'redirects.yaml'
NAV_FILE = '%s/nav.yaml'
NAV_FILE = '%s/nav.yaml'
ARTICLES_FILE = '%s/blog.yaml'
AUTHORS_FILE = '%s/authors.yaml'
IS_DEV = os.environ.get('SERVER_SOFTWARE', '').startswith('Dev')
Expand Down

0 comments on commit 1de1326

Please sign in to comment.