[libvirt] [PATCH python 04/15] generator: Cast iterators to a list() explicitly

2013-12-03 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com In python3 various methods list 'dict.keys()' do not return a list, so we must explicitly cast the result. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- generator.py | 40 1 file changed, 20

Re: [libvirt] [PATCH python 04/15] generator: Cast iterators to a list() explicitly

2013-12-03 Thread Doug Goldstein
On Tue, Dec 3, 2013 at 10:36 AM, Daniel P. Berrange berra...@redhat.com wrote: From: Daniel P. Berrange berra...@redhat.com In python3 various methods list 'dict.keys()' do not return a list, so we must explicitly cast the result. Signed-off-by: Daniel P. Berrange berra...@redhat.com ---

Re: [libvirt] [PATCH python 04/15] generator: Cast iterators to a list() explicitly

2013-12-03 Thread Eric Blake
On 12/03/2013 09:36 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com In python3 various methods list 'dict.keys()' do not return a list, so we must explicitly cast the result. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- generator.py | 40