Fix pylint warnings in python libraries
[csit.git] / resources / libraries / python / VatJsonUtil.py
index 1cafff0..6445d8c 100644 (file)
@@ -173,7 +173,7 @@ class VatJsonUtil(object):
         :type err_msg: str
         :raises RuntimeError: If VAT command return value is incorrect.
         """
-        if type(vat_out) is dict:
+        if isinstance(vat_out, dict):
             retval = vat_out.get('retval')
             if retval is not None:
                 if retval != exp_retval: