mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Clean up Subreddit _defaults whitespace.
Doing this in a separate commit for clarity.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user