Revision d443e1dd snf-cyclades-app/synnefo/api/management/commands/server-list.py
b/snf-cyclades-app/synnefo/api/management/commands/server-list.py | ||
---|---|---|
136 | 136 |
'backend', |
137 | 137 |
]) |
138 | 138 |
|
139 |
uuids = list(set([server.userid for server in servers])) |
|
140 |
ucache.fetch_names(uuids) |
|
139 |
if displayname: |
|
140 |
uuids = list(set([server.userid for server in servers])) |
|
141 |
ucache.fetch_names(uuids) |
|
141 | 142 |
|
142 | 143 |
table = [] |
143 | 144 |
for server in servers.order_by('id'): |
Also available in: Unified diff