diff --git a/designate/objects/validation_error.py b/designate/objects/validation_error.py index 0c91a05d6..460c13d31 100644 --- a/designate/objects/validation_error.py +++ b/designate/objects/validation_error.py @@ -11,8 +11,6 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -import six - from designate.objects import base @@ -33,7 +31,7 @@ class ValidationError(base.DesignateObject): e = cls() e.path = list(getattr(js_error, 'releative_path', js_error.path)) - e.message = six.text_type(js_error) + e.message = js_error.message e.validator = js_error.validator e.validator_value = js_error.validator_value