Skip to content

Commit

Permalink
Merge pull request #31 from dhellmann/logging-warn-is-deprecated
Browse files Browse the repository at this point in the history
Logging: use `warning()` instead of its deprecated alias
  • Loading branch information
dhellmann authored Jun 14, 2019
2 parents dbd2ecb + 4241021 commit 17f4eca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinxcontrib/spelling/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,6 @@ def finish(self):
logger.info('Spelling checker messages written to %s' %
self.output_filename)
if self.misspelling_count:
logger.warn('Found %d misspelled words' % self.misspelling_count)
logger.warning('Found %d misspelled words' %
self.misspelling_count)
return

0 comments on commit 17f4eca

Please sign in to comment.