summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorMauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>2012-09-10 08:26:43 -0400
committerMauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>2012-09-10 09:34:10 -0400
commit69f6b86768ec2c3e8b6ccf4704bef13f6f8cc4f8 (patch)
tree4008b53a198f64115a7b53aa8acdb7684e940b78 /nova/openstack
parent28a5b31bdbff7ed4492f8a6ca8e7e53a7aba0893 (diff)
downloadnova-69f6b86768ec2c3e8b6ccf4704bef13f6f8cc4f8.tar.gz
nova-69f6b86768ec2c3e8b6ccf4704bef13f6f8cc4f8.tar.xz
nova-69f6b86768ec2c3e8b6ccf4704bef13f6f8cc4f8.zip
Add a criteria to sort a list of dict in api samples
Add 'key' parameter in the sorted call to order the list of dictionaries by a specified criteria: the __tag__ value. So far the sorted method considered an unspecified criteria (it seems it considered the whole dict content) when ordering and this was causing some few cases fail. Change-Id: I1ebb295a7a3a53267e8f9f4286093f5b63d48eb3
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions