Radostin Stoyanov 80559e4879 apibuild: Use isinstance for type checking
The isinstance() function [1] returns true if an object argument is an
instance of a classinfo argument or of a direct, indirect subclass
thereof.

1: https://docs.python.org/3/library/functions.html#isinstance

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
2018-03-20 12:13:35 +00:00
..
2017-10-16 10:22:34 +01:00
2016-11-21 13:15:12 +01:00
2017-10-16 10:22:34 +01:00
2017-11-15 13:52:13 +01:00
2017-10-16 10:22:34 +01:00
2017-08-02 15:00:28 -04:00
2017-01-10 19:37:53 +01:00
2017-10-16 10:22:34 +01:00