[openstack-dev] [Oslo] Change ListOpt and DictOpt default values

Julien Danjou julien at danjou.info
Thu Oct 10 12:46:14 UTC 2013


On Thu, Oct 10 2013, Flavio Percoco wrote:

> This is not terrible, TBH, but it doesn't feel right. I've made the
> mistake to ignore the `default` keyword myself, although I know `[]`
> is not the default option for `ListOpt`. As already said, I'd expect
> `[]` to be the default, non-set value for `ListOpt`.
>
> Thoughts?

Sounds like a good idea; I can't think of any con.

-- 
Julien Danjou
/* Free Software hacker * independent consultant
   http://julien.danjou.info */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131010/c7e0a126/attachment.pgp>


More information about the OpenStack-dev mailing list