diff --git a/r2/r2/controllers/reddit_base.py b/r2/r2/controllers/reddit_base.py index 50dca5e38..ee2d98ac3 100644 --- a/r2/r2/controllers/reddit_base.py +++ b/r2/r2/controllers/reddit_base.py @@ -361,9 +361,6 @@ def set_host_lang(): c.host_lang = host_lang def set_iface_lang(): - # TODO: internationalize. This seems the best place to put this - # (used for formatting of large numbers to break them up with ","). - # unfortunately, not directly compatible with gettext locale.setlocale(locale.LC_ALL, g.locale) lang = [g.lang] # GET param wins diff --git a/r2/r2/models/subreddit.py b/r2/r2/models/subreddit.py index ac580dad9..a3808d604 100644 --- a/r2/r2/models/subreddit.py +++ b/r2/r2/models/subreddit.py @@ -1018,8 +1018,6 @@ class DomainSR(FakeSubreddit): def get_links(self, sort, time): from r2.lib.db import queries - # TODO: once the lists are precomputed properly, this can be - # switched over to use the non-_old variety. return queries.get_domain_links(self.domain, sort, time) Frontpage = DefaultSR()