Skip to content

Commit 307a847

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Correct reraising of exception"
2 parents 2de45c2 + 40d73a0 commit 307a847

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ def initialize_app(self, argv):
148148
'auth_type': self._auth_type,
149149
},
150150
)
151-
except (IOError, OSError) as e:
151+
except (IOError, OSError):
152152
self.log.critical("Could not read clouds.yaml configuration file")
153153
self.print_help_if_requested()
154-
raise e
154+
raise
155155

156156
if not self.options.debug:
157157
self.options.debug = None

0 commit comments

Comments
 (0)