mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-17 06:50:24 +00:00
Merge pull request #30 from fosil/fosil-patch-1
Fix Python 3 syntax error
This commit is contained in:
commit
86098dc1cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Reference in a new issue