Fix a Python2ism

This commit is contained in:
Jannis Leidel 2013-09-06 23:28:50 +02:00
parent 515eb603c7
commit e453d2355d

View file

@ -165,7 +165,7 @@ class BackendsValue(ListValue):
def converter(self, value):
try:
import_by_path(value)
except ImproperlyConfigured, err:
except ImproperlyConfigured as err:
six.reraise(ValueError, ValueError(err), sys.exc_info()[2])
return value