Commits

Erik Hetzner committed b57b9fc

do not raise exception on warningiserror

Comments (0)

Files changed (1)

sphinx/application.py

                 location = None
         warntext = location and '%s: %s%s\n' % (location, prefix, message) or \
                    '%s%s\n' % (prefix, message)
-        if self.warningiserror:
-            raise SphinxWarning(warntext)
         self._warncount += 1
         try:
             self._warning.write(warntext)