Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
CSIT-1041: Trending dashboard
[csit.git]
/
resources
/
libraries
/
python
/
VatJsonUtil.py
diff --git
a/resources/libraries/python/VatJsonUtil.py
b/resources/libraries/python/VatJsonUtil.py
index
1cafff0
..
6445d8c
100644
(file)
--- a/
resources/libraries/python/VatJsonUtil.py
+++ b/
resources/libraries/python/VatJsonUtil.py
@@
-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: