osc-lib/osc_lib
Huanxuan Ao e45dc8776e Avoid 'NoneType' error when format conversion
Error raise when changing a 'None' data to a new format:
"TypeError: 'NoneType' object is not iterable"
we also met that bug before in the previous patch [1]

This change is to handle the 'None' data and avoid
the error

[1] https://review.openstack.org/#/c/420420/

Change-Id: I649b4fc65ef7c19b8193b07f3bd59f00e6095f9f
Closes-bug: #1656363
2017-02-16 17:15:44 +08:00
..
api Calls to federated service providers using Keystone-to-Keystone 2016-12-21 11:43:17 -05:00
cli Include OSC additions 2017-01-04 11:54:23 -06:00
command Add deprecated_option_warning() method to Command 2017-01-04 11:11:11 -06:00
tests Avoid 'NoneType' error when format conversion 2017-02-16 17:15:44 +08:00
__init__.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00
clientmanager.py Calls to federated service providers using Keystone-to-Keystone 2016-12-21 11:43:17 -05:00
exceptions.py Clean up foundation copyrights 2016-06-14 09:46:16 -05:00
i18n.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
logs.py Backport log fix 2016-06-08 11:09:08 -05:00
session.py Begin moving bits to osc_lib 2016-05-12 16:07:24 -05:00
shell.py Include OSC additions 2 2017-01-04 16:14:16 -06:00
utils.py Avoid 'NoneType' error when format conversion 2017-02-16 17:15:44 +08:00
version.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00