Created
January 26, 2016 23:36
-
-
Save clayg/72f9ae5bf5d94fa6dd1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -528,6 +526,8 @@ def get_info(app, env, account, container=None, ret_not_found=False, | |
# pick the one from environ[env_key] and use it to set the caller env | |
resp = req.get_response(app) | |
cache_key, env_key = _get_cache_key(account, container) | |
+ if env_key not in resp.environ: | |
+ _set_info_cache(app, req.environ, account, container, resp) | |
try: | |
info = resp.environ[env_key] | |
env[env_key] = info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment