Revision 18ffbee1 snf-astakos-app/astakos/im/management/commands/listusers.py

b/snf-astakos-app/astakos/im/management/commands/listusers.py
64 64
        if options['pending']:
65 65
            users = users.filter(is_active=False)
66 66
        
67
        labels = ('id', 'email', 'real name', 'affiliation', 'active', 'admin')
68
        columns = (3, 24, 24, 12, 6, 5)
67
        labels = ('id', 'email', 'real name', 'affiliation', 'active', 'admin', 'provider')
68
        columns = (3, 24, 24, 12, 6, 5, 12)
69 69
        
70 70
        if not options['csv']:
71 71
            line = ' '.join(l.rjust(w) for l, w in zip(labels, columns))
......
78 78
            active = format_bool(user.is_active)
79 79
            admin = format_bool(user.is_superuser)
80 80
            fields = (id, user.email, user.realname, user.affiliation, active,
81
                      admin)
81
                      admin, user.provider)
82 82
            
83 83
            if options['csv']:
84 84
                line = '|'.join(fields)

Also available in: Unified diff