Reviewed: https://review.openstack.org/65856 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9f7c5bf5ad38237f2adac980afb69fcdb26678a3 Submitter: Jenkins Branch: master
commit 9f7c5bf5ad38237f2adac980afb69fcdb26678a3 Author: lizheming <email address hidden> Date: Fri Jan 10 11:43:37 2014 +0800
replace type() to isinstance() in nova
In nova/utils.py, a func use the "type" method to determine the type. It's bertter to use the "isinstance" method instead.this bug is fixed in glance: https://review.openstack.org/#/c/65611/4
Change-Id: I10d25d2308436239c50cf3932c212e22c45f92a8 Closes-Bug: #1267300
Reviewed: https:/ /review. openstack. org/65856 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9f7c5bf5ad3 8237f2adac980af b69fcdb26678a3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9f7c5bf5ad38237 f2adac980afb69f cdb26678a3
Author: lizheming <email address hidden>
Date: Fri Jan 10 11:43:37 2014 +0800
replace type() to isinstance() in nova
In nova/utils.py, a func use the "type" method to /review. openstack. org/#/c/ 65611/4
determine the type. It's bertter to use the "isinstance"
method instead.this bug is fixed in glance:
https:/
Change-Id: I10d25d23084362 39c50cf3932c212 e22c45f92a8
Closes-Bug: #1267300