def subreddit_messages_nocache(sr):
 from r2.lib.db import queries
 inbox = queries.get_subreddit_messages(sr)
 messages = _load_messages(inbox)
 return compute_message_trees(messages)

def subreddit_messages_nocache ( sr ) : from r2 . lib . db import queries inbox = queries . get_subreddit_messages ( sr ) messages = _load_messages ( inbox ) return compute_message_trees ( messages )
just like user_messages .