mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 13:17:06 +03:00
* Fix exception for python 2
This commit is contained in:
parent
341a3e85cd
commit
ff4fe524ee
|
@ -7,6 +7,13 @@ import plac
|
||||||
|
|
||||||
from . import uget
|
from . import uget
|
||||||
|
|
||||||
|
|
||||||
|
try:
|
||||||
|
FileExistsError
|
||||||
|
except NameError:
|
||||||
|
FileExistsError = Exception
|
||||||
|
|
||||||
|
|
||||||
# TODO: Read this from the same source as the setup
|
# TODO: Read this from the same source as the setup
|
||||||
VERSION = '0.9.6'
|
VERSION = '0.9.6'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user