Merge "Remove extra blank space in ClientSide error msg"

This commit is contained in:
Jenkins 2017-03-30 11:22:33 +00:00 committed by Gerrit Code Review
commit d09bf88a2b

@ -89,7 +89,7 @@ def apply_jsonpatch(doc, patch):
if p['op'] == 'add' and p['path'].count('/') == 1:
if p['path'].lstrip('/') not in doc:
msg = _('Adding a new attribute (%s) to the root of '
' the resource is not allowed')
'the resource is not allowed')
raise wsme.exc.ClientSideError(msg % p['path'])
return jsonpatch.apply_patch(doc, jsonpatch.JsonPatch(patch))