Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dont need to sort when all have same distance

  • Loading branch information...
commit 7a401a84a9ab2761985b11721f85ed941b3f02a7 1 parent ce33a29
@dag authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/jbovlaste.py
View
1  lib/jbovlaste.py
@@ -84,7 +84,6 @@ def query(self, query=None, type=None, valsi=[], gloss=None,
elif not results:
d = _Damerau(query, self._entries)
results = [i for i in self._entries if d.distances[i] < 2]
- results.sort(d.cmp)
return results
else:
return self.find(**args)
Please sign in to comment.
Something went wrong with that request. Please try again.