Remove an unneeded stripping operation.

This commit is contained in:
Eric S. Raymond 2008-11-03 08:37:37 +00:00
parent 9352e992fc
commit f8d75639b9

View file

@ -1217,8 +1217,6 @@ def spellcheck(fn, d):
# No match? Strip posessive suffixes and try again.
elif lowered.endswith("'s") and d.check(lowered[:-2]):
continue
elif lowered.endswith("s'") and d.check(lowered[:-2]):
continue
# Hyphenated compounds need all their parts good
if "-" in lowered:
parts = lowered.split("-")