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:
Julie Pichon 2017-11-17 10:34:53 +00:00
parent 5e5e0b1590
commit 2539361403
1 changed files with 2 additions and 2 deletions

View File

@ -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: