Merge "Correct reraising of exception"

This commit is contained in:
Jenkins 2016-12-02 13:34:51 +00:00 committed by Gerrit Code Review
commit 307a847685

View File

@ -148,10 +148,10 @@ class OpenStackShell(shell.OpenStackShell):
'auth_type': self._auth_type, 'auth_type': self._auth_type,
}, },
) )
except (IOError, OSError) as e: except (IOError, OSError):
self.log.critical("Could not read clouds.yaml configuration file") self.log.critical("Could not read clouds.yaml configuration file")
self.print_help_if_requested() self.print_help_if_requested()
raise e raise
if not self.options.debug: if not self.options.debug:
self.options.debug = None self.options.debug = None