mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +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:
|
||||
import coreapi
|
||||
import uritemplate
|
||||
except (ImportError, SyntaxError):
|
||||
# SyntaxError is possible under python 3.2
|
||||
except ImportError:
|
||||
coreapi = None
|
||||
uritemplate = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user