[libvirt] [PATCH python 06/15] generator: Update to use sort() 'key' param

Eric Blake eblake at redhat.com
Tue Dec 3 17:22:11 UTC 2013


On 12/03/2013 09:36 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The sort() method previously took either a compartor function

s/compartor/comparator/

> or a key function. Only the latter is supported in Python3.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  generator.py | 30 ++++++++----------------------
>  1 file changed, 8 insertions(+), 22 deletions(-)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131203/0c3fe533/attachment-0001.sig>


More information about the libvir-list mailing list