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:
commit
6df88c33d2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user