Drop compat workaround for unsupported Python 3.2 (#5734)

This commit is contained in:
Jon Dufresne 2018-01-08 01:45:29 -08:00 committed by Carlton Gibson
parent 06e2ad0b7d
commit c1848d765d

View File

@ -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