diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-22 20:17:17 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-22 20:17:17 +0300 |
commit | acc487641ad58c62691844afa2cdc7677093086d (patch) | |
tree | c6a5a1b8748ffcdef5eaaa6c9871b217c6d7cdac /calm/spelling.py | |
parent | cf12bef544ac06051abe9a4a259cc95ea337504e (diff) |
Remove some unused imports
Diffstat (limited to 'calm/spelling.py')
-rw-r--r-- | calm/spelling.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calm/spelling.py b/calm/spelling.py index 2b477c1..793edd1 100644 --- a/calm/spelling.py +++ b/calm/spelling.py @@ -21,7 +21,6 @@ # THE SOFTWARE. # -import logging import re from enchant import DictWithPWL from enchant.checker import SpellChecker @@ -125,7 +124,7 @@ def spellcheck_hints(args, packages): # XXX: this is doing all the work to generate suggestions, which # we then ignore, so could be written much more efficiently for err in chkr: - # logging.error("package '%s', hint '%s': Is '%s' a word?" % (p, k, err.word)) + # print("package '%s', hint '%s': Is '%s' a word?" % (p, k, err.word)) misspellings.setdefault(err.word, 0) misspellings[err.word] += 1 |