Revision 9d2f656a kamaki/cli/commands/cyclades.py

b/kamaki/cli/commands/cyclades.py
198 198
            (not nl) or nl.lower() in img['name'].lower())]
199 199

  
200 200
    def _add_user_name(self, servers):
201
        uuids = self._uuids2usernames(
202
            list(set([srv['user_id'] for srv in servers])))
201
        uuids = self._uuids2usernames(list(set(
202
                [srv['user_id'] for srv in servers] +
203
                [srv['tenant_id'] for srv in servers])))
203 204
        for srv in servers:
204 205
            srv['user_id'] += ' (%s)' % uuids[srv['user_id']]
206
            srv['tenant_id'] += ' (%s)' % uuids[srv['tenant_id']]
205 207
        return servers
206 208

  
207 209
    def _filtered_by_image(self, servers):

Also available in: Unified diff