diff options
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-11-21 23:25:23 +0800 |
---|---|---|
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-11-21 23:27:08 +0800 |
commit | 2547c59d950065192aa19173d6946da480978035 (patch) | |
tree | 89998c2a2a9cf1d5e7872c020a5362b97db90dca /oslo_config/types.py | |
parent | 42af1ad069ce09c465101cd2dcad93940c856c94 (diff) | |
download | oslo-config-2547c59d950065192aa19173d6946da480978035.tar.gz |
Revert "Fix conversion to item_type on __call__ in List type"
This reverts commit 42af1ad069ce09c465101cd2dcad93940c856c94.
That commit breaks nova's test see:
http://logs.openstack.org/periodic/periodic-nova-py27-with-oslo-master/e52702e/testr_results.html.gz
Change-Id: If2747ede5da172431c53ab0f6d02a4c91d45d57c
Diffstat (limited to 'oslo_config/types.py')
-rw-r--r-- | oslo_config/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_config/types.py b/oslo_config/types.py index 24768bc..4096f2e 100644 --- a/oslo_config/types.py +++ b/oslo_config/types.py @@ -441,7 +441,7 @@ class List(ConfigType): def __call__(self, value): if isinstance(value, (list, tuple)): - return list(six.moves.map(self.item_type, value)) + return list(value) s = value.strip() if self.bounds: |