Removed unused rendered_content argument

(imported from commit 214d0dac63bb4e7fc4fd477ab1e22a0f2e65227d)
This commit is contained in:
Kevin Mehall 2013-07-08 15:37:58 -04:00
parent a7c91bce1b
commit 9cb5c23da9
1 changed files with 3 additions and 3 deletions

View File

@ -306,11 +306,11 @@ def extract_message_dict(message_str):
def stringify_message_dict(message_dict): def stringify_message_dict(message_dict):
return zlib.compress(ujson.dumps(message_dict)) return zlib.compress(ujson.dumps(message_dict))
def to_dict_cache_key_id(message_id, apply_markdown, rendered_content=None): def to_dict_cache_key_id(message_id, apply_markdown):
return 'message_dict:%d:%d' % (message_id, apply_markdown) return 'message_dict:%d:%d' % (message_id, apply_markdown)
def to_dict_cache_key(message, apply_markdown, rendered_content=None): def to_dict_cache_key(message, apply_markdown):
return to_dict_cache_key_id(message.id, apply_markdown, rendered_content=None) return to_dict_cache_key_id(message.id, apply_markdown)
class Message(models.Model): class Message(models.Model):
sender = models.ForeignKey(UserProfile) sender = models.ForeignKey(UserProfile)