Fix truncated error message
The second part of the message with the error details would never get
displayed.
Change-Id: Id1725d6d0028aab907263c1d867d64bb15df77f1
Related-Bug: #1704380
Related-Bug: #1732751
(cherry picked from commit 51a5eb928c
)
This commit is contained in:
parent
5e5e0b1590
commit
2539361403
|
@ -72,8 +72,8 @@ def store_cli_param(parsed_args):
|
|||
try:
|
||||
os.mkdir(history_path)
|
||||
except OSError as e:
|
||||
messages = "Unable to create TripleO history directory: "
|
||||
"{0}, {1}".format(history_path, e)
|
||||
messages = "Unable to create TripleO history directory: " \
|
||||
"{0}, {1}".format(history_path, e)
|
||||
raise OSError(messages)
|
||||
if os.path.isdir(history_path):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue