From acc487641ad58c62691844afa2cdc7677093086d Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 22 Jan 2018 17:17:17 +0000 Subject: Remove some unused imports --- calm/spelling.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calm/spelling.py') 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 -- cgit v1.2.3