diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-12-02 13:34:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-12-02 13:34:51 +0000 |
| commit | 307a847685a04de2e6df19722d3287e59e20d34d (patch) | |
| tree | 735a6023f04c109f07ea0f9f0d89c3ad2a784149 /openstackclient | |
| parent | 2de45c2805ff7843d0c92c46b6ada625620b57c9 (diff) | |
| parent | 40d73a0b585fde9c065fb069d7a31c4717c8887d (diff) | |
| download | python-openstackclient-307a847685a04de2e6df19722d3287e59e20d34d.tar.gz | |
Merge "Correct reraising of exception"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py index be4b5283..e08eee61 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -148,10 +148,10 @@ class OpenStackShell(shell.OpenStackShell): 'auth_type': self._auth_type, }, ) - except (IOError, OSError) as e: + except (IOError, OSError): self.log.critical("Could not read clouds.yaml configuration file") self.print_help_if_requested() - raise e + raise if not self.options.debug: self.options.debug = None |
