summaryrefslogtreecommitdiff
path: root/os_client_config
diff options
context:
space:
mode:
Diffstat (limited to 'os_client_config')
-rw-r--r--os_client_config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 96d5fa7..1b6193e 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -404,7 +404,7 @@ class OpenStackConfig(object):
return config[opt_name]
else:
deprecated = getattr(opt, 'deprecated', getattr(
- opt, 'deprecated_opts'))
+ opt, 'deprecated_opts', []))
for d_opt in deprecated:
d_opt_name = d_opt.name.replace('-', '_')
if d_opt_name in config: