Fix indentation level in cache_save_user_profile().

(imported from commit d4dff41fa7913b15a65e10fbafb5b7b49d6b6837)
This commit is contained in:
Steve Howell
2013-09-15 13:21:01 -04:00
parent 85f9b6695f
commit 7868787ae0

View File

@@ -234,7 +234,7 @@ def user_profile_by_id_cache_key(user_profile_id):
return "user_profile_by_id:%s" % (user_profile_id,)
def cache_save_user_profile(user_profile):
cache_set(user_profile_by_id_cache_key(user_profile.id), user_profile, timeout=3600*24*7)
cache_set(user_profile_by_id_cache_key(user_profile.id), user_profile, timeout=3600*24*7)
# Called by models.py to flush the user_profile cache whenever we save
# a user_profile object