commit f6c357d749fb6a8fa1497fe9c5c055e04ae59703
Author: Roey Chen <email address hidden>
Date: Sun Jan 8 04:27:07 2017 -0800
Don't call formatters on None value
Some object fields are allowed to be set to None, in such cases we
shouldn't call any formatters on the field.
For example, a subnet has a field 'service_types' which could be a list
of values but is also nullable.
Reviewed: https:/ /review. openstack. org/417675 /git.openstack. org/cgit/ openstack/ osc-lib/ commit/ ?id=f6c357d749f b6a8fa1497fe9c5 c055e04ae59703
Committed: https:/
Submitter: Jenkins
Branch: master
commit f6c357d749fb6a8 fa1497fe9c5c055 e04ae59703
Author: Roey Chen <email address hidden>
Date: Sun Jan 8 04:27:07 2017 -0800
Don't call formatters on None value
Some object fields are allowed to be set to None, in such cases we
shouldn't call any formatters on the field.
For example, a subnet has a field 'service_types' which could be a list
of values but is also nullable.
Change-Id: I6574bdf742c0cd 24cc824f08e8ba4 c40d390cbe0
Closes-Bug: #1652025