geoffl/miro — comment on commit a826adf3483349cd2a55c0f3ec3107dbaae1f8f1
File: tv/lib/sharing.py line 306
By geoffl:

ValueError is for removing from a list that does not have the item. I think the error should basically be impossible to happen.
It's probably actually also okay to just remove the debug, it's not really interesting knowing about downloads that were not originated from the sharing display. Either way, I have been persuaded that maybe it's a good idea to be able to tell sharing/non-sharing downloading items apart because we want to clear up stale ones if we had a hard crash. So maybe this code will become obsolete in the next iteration.