Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting breaks apart when calling sort_file with a custom key #2

Open
kaimosec opened this issue Dec 30, 2021 · 0 comments
Open

Sorting breaks apart when calling sort_file with a custom key #2

kaimosec opened this issue Dec 30, 2021 · 0 comments

Comments

@kaimosec
Copy link

When calling sort_file with a custom sorting key, temporary files are sorted correctly but not sorted when put back together.
This can be fixed by passing the key argument through to heapq.merge on line 108 of init.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant