summaryrefslogtreecommitdiff
path: root/distutils2/errors.py
diff options
context:
space:
mode:
authorGael Pasgrimaud <gael@gawel.org>2011-01-28 12:37:44 +0100
committerGael Pasgrimaud <gael@gawel.org>2011-01-28 12:37:44 +0100
commit265a6056ac245aa23f6fa371c1c53f551cc22785 (patch)
treef12c939e14f8f00519791a93253923923303197e /distutils2/errors.py
parenta8c28f9c125aee4ceaba3eb112f8a578cd3da763 (diff)
downloaddisutils2-265a6056ac245aa23f6fa371c1c53f551cc22785.tar.gz
fixed #11038. Add strict parameter to metadata.check() and use the strict mode in check command
Diffstat (limited to 'distutils2/errors.py')
-rw-r--r--distutils2/errors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/distutils2/errors.py b/distutils2/errors.py
index a080898..4b006b3 100644
--- a/distutils2/errors.py
+++ b/distutils2/errors.py
@@ -110,6 +110,10 @@ class UnknownFileError(CCompilerError):
"""Attempt to process an unknown file type."""
+class MetadataMissingError(DistutilsError):
+ """A required metadata is missing"""
+
+
class MetadataConflictError(DistutilsError):
"""Attempt to read or write metadata fields that are conflictual."""