generator: Convert list() to set()
generator: Convert list() to set()

tuple() and list() are sequences, while dict() and set() are hash-based,
which is more efficient for contains().

Signed-off-by: Philipp Hahn <8cb7a2c205789112a9f61bc3102305826b6a8db1@univention.de>

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