Merged revisions 71674 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line

  DistutilsSetupError was not raised when one single warning occured
........
This commit is contained in:
Tarek Ziadé 2009-04-17 14:34:49 +00:00
parent 86c06bc47f
commit f633ff4546
2 changed files with 9 additions and 10 deletions

View file

@ -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):