generator: format string default value for List type properly
List type allows to pass string values as default values, which are then
handled by splitting on commas. For formatting matters, if the default
value is of string type, there is no special conversion needed, and we
can reuse the value as-is.
Change-Id: Ie9ecdfc064e886f6138b1fa9e839d8f95a7df339
Closes-Bug: #1586366
(cherry picked from commit 75e1c306630378673861d52a34de51e869183062)
Reviewed: https:/ /review. openstack. org/322129 /git.openstack. org/cgit/ openstack/ oslo.config/ commit/ ?id=9dd6ac63484 2b037c99d25b344 31eaa2f4ed427c
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 9dd6ac634842b03 7c99d25b34431ea a2f4ed427c
Author: Ihar Hrachyshka <email address hidden>
Date: Fri May 27 14:12:37 2016 +0200
generator: format string default value for List type properly
List type allows to pass string values as default values, which are then
handled by splitting on commas. For formatting matters, if the default
value is of string type, there is no special conversion needed, and we
can reuse the value as-is.
Change-Id: Ie9ecdfc064e886 f6138b1fa9e839d 8f95a7df339 73861d52a34de51 e869183062)
Closes-Bug: #1586366
(cherry picked from commit 75e1c3066303786