diff --git a/r2/r2/models/subreddit.py b/r2/r2/models/subreddit.py index d16d6b447..e2ae64374 100644 --- a/r2/r2/models/subreddit.py +++ b/r2/r2/models/subreddit.py @@ -119,39 +119,39 @@ class Subreddit(Thing, Printable, BaseSite): # attribute, even on a cname. So c.site.static_path should always be # the same as g.static_path. _defaults = dict(BaseSite._defaults, - stylesheet_rtl = None, - stylesheet_contents = '', - stylesheet_modified = None, - header_size = None, - allow_top = False, # overridden in "_new" - images = {}, - reported = 0, - valid_votes = 0, - show_media = False, - show_cname_sidebar = False, - css_on_cname = True, - domain = None, - wikimode = "disabled", - wiki_edit_karma = 100, - wiki_edit_age = 0, - over_18 = False, - exclude_banned_modqueue = False, - mod_actions = 0, + stylesheet_rtl=None, + stylesheet_contents='', + stylesheet_modified=None, + header_size=None, + allow_top=False, # overridden in "_new" + images={}, + reported=0, + valid_votes=0, + show_media=False, + show_cname_sidebar=False, + css_on_cname=True, + domain=None, + wikimode="disabled", + wiki_edit_karma=100, + wiki_edit_age=0, + over_18=False, + exclude_banned_modqueue=False, + mod_actions=0, # do we allow self-posts, links only, or any? - link_type = 'any', # one of ('link', 'self', 'any') - submit_link_label = '', - submit_text_label = '', - comment_score_hide_mins = 0, - flair_enabled = True, - flair_position = 'right', # one of ('left', 'right') - link_flair_position = '', # one of ('', 'left', 'right') - flair_self_assign_enabled = False, - link_flair_self_assign_enabled = False, - use_quotas = True, - description = "", - public_description = "", - prev_description_id = "", - prev_public_description_id = "", + link_type='any', # one of ('link', 'self', 'any') + submit_link_label='', + submit_text_label='', + comment_score_hide_mins=0, + flair_enabled=True, + flair_position='right', # one of ('left', 'right') + link_flair_position='', # one of ('', 'left', 'right') + flair_self_assign_enabled=False, + link_flair_self_assign_enabled=False, + use_quotas=True, + description="", + public_description="", + prev_description_id="", + prev_public_description_id="", allow_comment_gilding=True, hide_subscribers=False, public_traffic=False,