From 318a9d7aa2163031eac19291592b1f396e11a879 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 31 Mar 2000 02:57:31 +0000 Subject: [PATCH] Added DistutilsInternalError. --- Lib/distutils/errors.py | 6 ++++++ 1 file changed, 6 insertions(+) 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