mirror of https://github.com/python/cpython.git
Added DistutilsInternalError.
This commit is contained in:
parent
e1664bdc59
commit
318a9d7aa2
|
@ -68,6 +68,11 @@ class DistutilsPlatformError (DistutilsError):
|
|||
class DistutilsExecError (DistutilsError):
|
||||
pass
|
||||
|
||||
# DistutilsInternalError is raised on internal inconsistencies
|
||||
# or impossibilities
|
||||
class DistutilsInternalError (DistutilsError):
|
||||
pass
|
||||
|
||||
# String-based exceptions
|
||||
else:
|
||||
DistutilsError = 'DistutilsError'
|
||||
|
@ -80,5 +85,6 @@ class DistutilsExecError (DistutilsError):
|
|||
DistutilsValueError = 'DistutilsValueError'
|
||||
DistutilsPlatformError = 'DistutilsPlatformError'
|
||||
DistutilsExecError = 'DistutilsExecError'
|
||||
DistutilsInternalError = 'DistutilsInternalError'
|
||||
|
||||
del types
|
||||
|
|
Loading…
Reference in New Issue