Revision cb261eef snf-astakos-app/astakos/im/management/commands/project-list.py

b/snf-astakos-app/astakos/im/management/commands/project-list.py
36 36
from django.core.management.base import NoArgsCommand
37 37

  
38 38
from astakos.im.models import Chain
39
from ._common import format_bool, shortened
39
from ._common import format, shortened
40 40

  
41 41

  
42 42
class Command(NoArgsCommand):
......
71 71

  
72 72
        for info in chain_info(chain_dict):
73 73

  
74
            fields = [
74
            fields = [(format(elem) for elem in (
75 75
                (info['projectid'], False),
76 76
                (info['name'], True),
77 77
                (info['owner'], True),
78 78
                (info['status'], False),
79 79
                (info['appid'], False),
80
            ]
80
            )]
81 81

  
82 82
            if options['csv']:
83 83
                line = '|'.join(fields)

Also available in: Unified diff