diff options
-rw-r--r-- | os_client_config/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py index eb415f7..aac41a4 100644 --- a/os_client_config/config.py +++ b/os_client_config/config.py @@ -950,7 +950,7 @@ class OpenStackConfig(object): def option_prompt(self, config, p_opt): """Prompt user for option that requires a value""" if ( - p_opt.prompt is not None and + getattr(p_opt, 'prompt', None) is not None and p_opt.dest not in config['auth'] and self._pw_callback is not None ): |