]> git.parisson.com Git - teleforma.git/commitdiff
update log
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 12:45:04 +0000 (14:45 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 12:45:04 +0000 (14:45 +0200)
teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py

index 6eaec175eedec31dfd228f018a5a325f269ff179..bb6c744e11eb9c20273dba65f75f5eb0176a81d1 100644 (file)
@@ -44,7 +44,7 @@ class Command(BaseCommand):
     def handle(self, *args, **options):
         log_file = args[-1]
         logger = Logger(log_file)
-        logger.logger.info('Processing...')
+        logger.logger.info('########### Processing #############')
 
         users = User.objects.all()
         translation.activate(self.language_code)
@@ -59,6 +59,6 @@ class Command(BaseCommand):
                         self.init_password_email(user)
                         profile.init_password = True
                         profile.save()
-                        logger.logger.info(user.username)
+                        logger.logger.info('add : ' + user.username)
 
-        logger.logger.info('Done')
\ No newline at end of file
+        logger.logger.info('############## Done #################')
\ No newline at end of file