mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 05:04:31 +03:00
Drop compat workaround for unsupported Python 3.2 (#5734)
This commit is contained in:
parent
06e2ad0b7d
commit
c1848d765d
|
@ -113,8 +113,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