diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py index 86d91dd6c07..f9d5c8de5a8 100644 --- a/Lib/distutils/errors.py +++ b/Lib/distutils/errors.py @@ -68,6 +68,11 @@ if type (RuntimeError) is types.ClassType: 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 @@ else: DistutilsValueError = 'DistutilsValueError' DistutilsPlatformError = 'DistutilsPlatformError' DistutilsExecError = 'DistutilsExecError' + DistutilsInternalError = 'DistutilsInternalError' del types