1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Merge pull request #425 from jared-hess/determinacy

Fix non-deterministic sorting behavior.
This commit is contained in:
William Ting 2016-06-21 18:06:06 -07:00 committed by GitHub
commit 6df88c33d2

View File

@ -181,7 +181,7 @@ def find_matches(entries, needles, check_entries=True):
data = sorted(
entries,
key=attrgetter('weight'),
key=attrgetter('weight', 'path'),
reverse=True)
return ifilter(