From 16ec66e09d77ac76e9f91285a6dad4d478d7b863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Nov=C3=A1k?= Date: Tue, 23 Jun 2015 13:56:03 +0200 Subject: [PATCH] Fix Python 3 syntax error --- eav/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eav/models.py b/eav/models.py index 9de7ab2..1544567 100644 --- a/eav/models.py +++ b/eav/models.py @@ -491,7 +491,7 @@ class Entity(object): else: try: attribute.validate_value(value) - except ValidationError, e: + except ValidationError as e: raise ValidationError(_(u"%(attr)s EAV field %(err)s") % \ {'attr': attribute.slug, 'err': e})