From c2f14a9e9d6617bd3cdfe9c64d67b7f2a4ba83bd Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Wed, 22 Aug 2012 11:05:10 -0700 Subject: [PATCH] Replace vislink logging with a FIXME. --- r2/r2/controllers/listingcontroller.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 2a978e7ef..fa9118b7a 100755 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -325,7 +325,10 @@ class HotController(FixListing, ListingController): max_score = self.listing_obj.max_score).listing() if vislink not in s.lookup: - g.log.error("spotlight vislink skipped by builder: %s" % vislink) + # FIXME: spotlight vislink is missing from the items returned + # by the builder. + # This may result in an empty spotlight box. + pass else: has_subscribed = c.user.has_subscribed promo_visible = promote.is_promo(s.lookup[vislink])