Merge pull request #30 from fosil/fosil-patch-1

Fix Python 3 syntax error
This commit is contained in:
dorey 2015-06-23 13:42:22 -04:00
commit 86098dc1cd

View file

@ -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})