summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/cfg.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py
index 8f25c5c..333a34b 100644
--- a/openstack/common/cfg.py
+++ b/openstack/common/cfg.py
@@ -1567,7 +1567,11 @@ class ConfigOpts(collections.Mapping):
opts = group._opts
if not opt_name in opts:
- raise NoSuchOptError(opt_name, group)
+ if group is None and '.' in opt_name:
+ group, opt_name = opt_name.split('.')
+ return self._get_opt_info(opt_name, group)
+ else:
+ raise NoSuchOptError(opt_name, group)
return opts[opt_name]