issue #477: Py2.4 lacks BaseException.
This commit is contained in:
parent
4388e794ce
commit
08cecb92f6
|
@ -72,6 +72,11 @@ try:
|
|||
except ImportError:
|
||||
from io import BytesIO
|
||||
|
||||
try:
|
||||
BaseException
|
||||
except NameError:
|
||||
BaseException = Exception
|
||||
|
||||
try:
|
||||
ModuleNotFoundError
|
||||
except NameError:
|
||||
|
|
Loading…
Reference in New Issue