Revision 7856a37a snf-cyclades-app/synnefo/api/management/commands/server-list.py

b/snf-cyclades-app/synnefo/api/management/commands/server-list.py
126 126
        cache = ImageCache()
127 127

  
128 128
        headers = filter(lambda x: x is not Omit,
129
                        ['id',
130
                         'name',
131
                         'owner_uuid',
132
                         'owner_name' if displayname else Omit,
133
                         'flavor',
134
                         'image',
135
                         'state',
136
                         'backend',
129
                         ['id',
130
                          'name',
131
                          'owner_uuid',
132
                          'owner_name' if displayname else Omit,
133
                          'flavor',
134
                          'image',
135
                          'state',
136
                          'backend',
137 137
                          ])
138 138

  
139 139
        uuids = list(set([server.userid for server in servers]))
......
165 165
                             image,
166 166
                             state,
167 167
                             str(server.backend),
168
                            ])
168
                             ])
169 169
            table.append(fields)
170 170

  
171 171
        separator = " | " if options['csv'] else None

Also available in: Unified diff