remove debug statement

This commit is contained in:
j 2014-03-16 15:11:59 +00:00
parent a911a62e12
commit 7e0f7cf5fb

View file

@ -458,8 +458,6 @@ def removeMedia(request):
qs = models.File.objects.filter(oshash__in=data['ids'], instances__id=None) qs = models.File.objects.filter(oshash__in=data['ids'], instances__id=None)
selected = set([f.item.id for f in qs if f.selected]) selected = set([f.item.id for f in qs if f.selected])
items = list(set([f.item.id for f in qs])) items = list(set([f.item.id for f in qs]))
print selected
print items
qs.delete() qs.delete()
for i in Item.objects.filter(id__in=items): for i in Item.objects.filter(id__in=items):
if i.id in selected: if i.id in selected: