Merge "Fix Syntax Error being thrown by handle in ModifyPackageForm."

This commit is contained in:
Jenkins 2016-10-22 23:29:20 +00:00 committed by Gerrit Code Review
commit 43e265eee9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class ModifyPackageForm(PackageParamsMixin, horizon_forms.SelfHandlingForm):
reason = error.get('message')
except ValueError:
# Let horizon operate with original exception
raise exc_info[0], exc_info[1], exc_info[2]
raise (exc_info[0], exc_info[1], exc_info[2])
msg = _('Failed to modify the package. {0}').format(reason)
LOG.exception(msg)