remove debug

This commit is contained in:
j 2013-09-24 12:49:10 +00:00
parent 709b852530
commit 2b548b3174

View file

@ -112,9 +112,7 @@ class Command(BaseCommand):
print "Updating sort values..." print "Updating sort values..."
ids = [i['id'] for i in models.Item.objects.all().values('id')] ids = [i['id'] for i in models.Item.objects.all().values('id')]
for id in ids: for id in ids:
#try:
i = models.Item.objects.get(pk=id) i = models.Item.objects.get(pk=id)
if optoins['debug']:
print i print i
i.update_sort() i.update_sort()
#except:
# pass