[libvirt] [PATCH 12/22] apibuild: Simplify uniq function
Daniel P. Berrangé
berrange at redhat.com
Mon Mar 19 10:55:11 UTC 2018
On Sat, Mar 17, 2018 at 02:23:30PM +0000, Radostin Stoyanov wrote:
> Use a set (unordered collections of unique elements) [1] to remove
> repeated elements in a list.
>
> 1: https://docs.python.org/3/tutorial/datastructures.html#sets
>
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
> docs/apibuild.py | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list