summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYogeshwar Srikrishnan <yoga80@yahoo.com>2011-07-26 12:02:59 -0500
committerJames E. Blair <james.blair@rackspace.com>2011-07-28 09:55:58 -0700
commit637f3692dceccee98df141a26123db0a32af6f7f (patch)
tree7c10f25b8c3599dfe0c5c7e5b9a5231c7d1fd1fc
parent7278588a3b150b239abf319a0fc9b79513bb5095 (diff)
#66 Change in variable cases.
-rwxr-xr-xkeystone/backends/memcache/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/keystone/backends/memcache/__init__.py b/keystone/backends/memcache/__init__.py
index 6897363b..da25cf0a 100755
--- a/keystone/backends/memcache/__init__.py
+++ b/keystone/backends/memcache/__init__.py
@@ -33,6 +33,7 @@ API_PREFIX = 'keystone.backends.memcache.api.'
MEMCACHE_SERVER = None
CACHE_TIME = 86400
+
def configure_backend(options):
hosts = options['memcache_hosts']
global MEMCACHE_SERVER
@@ -40,7 +41,8 @@ def configure_backend(options):
MEMCACHE_SERVER = Memcache_Server(hosts)
register_models(options)
global CACHE_TIME
- CACHE_TIME = config.get_option(options, 'cache_time', type='int', default=86400)
+ CACHE_TIME = config.get_option(
+ options, 'cache_time', type='int', default=86400)
class Memcache_Server():