Python 3 upgrade finished

This commit is contained in:
Fergal Moran
2015-08-20 11:18:53 +01:00
parent 139e23d4c0
commit dfa82d4e76
132 changed files with 6399 additions and 6575 deletions

View File

@@ -1,10 +1,10 @@
from django.core.management.base import NoArgsCommand
from spa.models import Mix
class Command(NoArgsCommand):
def handle(self, *args, **options):
candidates = Mix.objects.filter(waveform_generated=False)
for mix in candidates:
print "Deleting: %s" % mix.title
mix.delete()
from django.core.management.base import NoArgsCommand
from spa.models import Mix
class Command(NoArgsCommand):
def handle(self, *args, **options):
candidates = Mix.objects.filter(waveform_generated=False)
for mix in candidates:
print("Deleting: %s" % mix.title)
mix.delete()