mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Fix a Python2ism
This commit is contained in:
parent
515eb603c7
commit
e453d2355d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue