diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-07 20:56:17 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-07 20:56:18 +0000 |
| commit | ffb232a90e8b5c8358e017bf057a045a2d59bbfc (patch) | |
| tree | 4900840df82bb3151d997aee85610df0ecc4ac4a /openstackclient/shell.py | |
| parent | 2adeac2bc2421a96273dfbc2b39a43cc06e542e6 (diff) | |
| parent | 6f36385cb87d04577d60032f6e74c732edab6d45 (diff) | |
| download | python-openstackclient-ffb232a90e8b5c8358e017bf057a045a2d59bbfc.tar.gz | |
Merge "Correct reraising of exception"
Diffstat (limited to 'openstackclient/shell.py')
| -rwxr-xr-x[-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 49a06040..ed729e53 100644..100755 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -331,10 +331,10 @@ class OpenStackShell(app.App): 'auth_type': 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 # TODO(thowe): Change cliff so the default value for debug # can be set to None. |
