Replace vislink logging with a FIXME.

This commit is contained in:
Max Goodman
2012-08-22 11:05:10 -07:00
committed by Neil Williams
parent 3beee33287
commit c2f14a9e9d

View File

@@ -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])