generator: Cast iterators to a list() explicitly
generator: Cast iterators to a list() explicitly

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 <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

libvirt/libvirt-python,libvirt/libvirt-python,libvirt/libvirt-python