commit | 382a6f12a38baab47918fb902ccfd9e451c04800 | [log] [tgz] |
---|---|---|
author | Andrea Frittoli <andrea.frittoli@gmail.com> | Thu Mar 09 11:52:17 2017 +0000 |
committer | Andrea Frittoli <andrea.frittoli@gmail.com> | Mon Mar 13 14:20:32 2017 +0000 |
tree | 2b7157038ae2039adc1c23b92f0c9ead6d453bb3 | |
parent | 6b3d13555f96595ba0eb2cf86771ddeca277c4aa [diff] |
Add plugin group names to CONF Plugins have no way of setting the name of their groups to CONF so that they are available at discovery time, so setting them up for them, using the get_opt_list hook. Since plugins may pass an OptGroup object or a string, handle both cases. Normalise strings with a '-' to '_'. Added comments and docstring to document this. Change-Id: I1afae0d1f9c4a6aec2742aaba4928cdde54b224f