Revision 4220c336 snf-astakos-app/astakos/im/management/commands/cleanup-full.py

b/snf-astakos-app/astakos/im/management/commands/cleanup-full.py
44 44
    help = "Cleanup sessions and session catalog"
45 45

  
46 46
    def handle_noargs(self, **options):
47
        self.stdout.write('Cleanup sessions ...\n')
47
        self.stderr.write('Cleanup sessions ...\n')
48 48
        call_command('cleanup')
49 49

  
50
        self.stdout.write('Cleanup session catalog ...\n')
50
        self.stderr.write('Cleanup session catalog ...\n')
51 51
        engine = import_module(settings.SESSION_ENGINE)
52 52
        store = engine.SessionStore()
53 53
        tbd = (entry for entry in SessionCatalog.objects.all()

Also available in: Unified diff