mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 12:00:12 +03:00
Drop compat workaround for unsupported Python 3.2
This commit is contained in:
parent
5f42cb7027
commit
8a1d177810
|
@ -115,8 +115,7 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
import coreapi
|
import coreapi
|
||||||
import uritemplate
|
import uritemplate
|
||||||
except (ImportError, SyntaxError):
|
except ImportError:
|
||||||
# SyntaxError is possible under python 3.2
|
|
||||||
coreapi = None
|
coreapi = None
|
||||||
uritemplate = None
|
uritemplate = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user