diff options
Diffstat (limited to 'Lib/distutils/command/check.py')
-rw-r--r-- | Lib/distutils/command/check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py index 5dd73b07af..9a8fca1d5f 100644 --- a/Lib/distutils/command/check.py +++ b/Lib/distutils/command/check.py @@ -73,7 +73,7 @@ class check(Command): # let's raise an error in strict mode, if we have at least # one warning - if self.strict and self._warnings > 1: + if self.strict and self._warnings > 0: raise DistutilsSetupError('Please correct your package.') def check_metadata(self): |