]> git.parisson.com Git - teleforma.git/commitdiff
no more cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 1 Jan 2014 16:33:33 +0000 (17:33 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 1 Jan 2014 16:33:33 +0000 (17:33 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index f5e0d0a0d649fc4ec2d0abb79d66ac1cbf3d37ef..eaa410b2173e3ce7e0a9026935afcdd16959e4d3 100644 (file)
@@ -99,9 +99,10 @@ class Command(BaseCommand):
         file_list = []
         seminars = []
 
+        # NOT FOR PROD : CLEANUP 
         # self.cleanup()
-        for seminar in Seminar.objects.filter(period=period):
-            self.seminar_media_cleanup(seminar)
+        #for seminar in Seminar.objects.filter(period=period):
+        #    self.seminar_media_cleanup(seminar)
 
         walk = os.walk(self.media_dir, followlinks=True)