[libvirt] [PATCH 19/22] apibuild: Simplify type checking of literals

Daniel P. Berrangé berrange at redhat.com
Mon Mar 19 11:01:11 UTC 2018


On Sat, Mar 17, 2018 at 02:23:37PM +0000, Radostin Stoyanov wrote:
> Reduce the number of if-statements used to assign a literals
> to corresponding class variables.
> 
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
>  docs/apibuild.py | 31 +++++++++++++------------------
>  1 file changed, 13 insertions(+), 18 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