Remove FileNotFoundError compatibility

This commit is contained in:
Dave Halter committed 2020-07-02 01:05:13 +02:00
1 parent 0538a3e224
commit f9a35ae42a
8 files changed
+6 -14

No files matched your search

-5
View File
@@ -216,11 +216,6 @@ try:
except ImportError:
from itertools import izip_longest as zip_longest # Python 2 # noqa: F401
try:
FileNotFoundError = FileNotFoundError
except NameError:
FileNotFoundError = IOError
try:
IsADirectoryError = IsADirectoryError
except NameError: