JingLiu 90399f9fe9 Replace method attr in vars() to hasattr
As ChangBo Guo(gcb) said in review
https://review.openstack.org/#/c/359786,
'hasattr' has less cost than 'vars'.

Repair it in another place.

Change-Id: Ib13767be8377f536a9d82e54a6e7af8b6a8a1604
2016-12-22 17:37:36 +08:00
..
2016-10-07 09:28:21 +01:00
2016-07-01 06:28:23 +00:00
2016-01-30 00:24:55 +09:00
2016-09-19 15:09:43 +02:00
2016-09-14 17:24:21 +09:00
2016-09-19 15:09:43 +02:00
2016-09-19 15:09:43 +02:00