Skip to content

Commit

Permalink
use the right method to emit warnings
Browse files Browse the repository at this point in the history
Use warn() instead of the non-existant warning() method.

Fixes #5
  • Loading branch information
dhellmann committed Oct 11, 2017
1 parent 6209fa8 commit 7afe18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/spelling/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ def finish(self):
self.info('Spelling checker messages written to %s' %
self.output_filename)
if self.misspelling_count:
self.warning('Found %d misspelled words' % self.misspelling_count)
self.warn('Found %d misspelled words' % self.misspelling_count)
return

0 comments on commit 7afe18d

Please sign in to comment.