Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-01-22 20:17:17 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2018-01-22 20:17:17 +0300
commitacc487641ad58c62691844afa2cdc7677093086d (patch)
treec6a5a1b8748ffcdef5eaaa6c9871b217c6d7cdac /calm/spelling.py
parentcf12bef544ac06051abe9a4a259cc95ea337504e (diff)
Remove some unused imports
Diffstat (limited to 'calm/spelling.py')
-rw-r--r--calm/spelling.py3
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