-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare transactions by IDs, not timestamps
Make Transaction method `__lt__` work in an expected way. True if t1.tid < t2.tid, false when t1.tid > t2.tid. This fixes the behavior of sort method (lowest/oldest first without using reverse flag). Fixes random behavior in CI tests: rpm-software-management/ci-dnf-stack#248 Closes: #947 Approved by: <try>
- Loading branch information
1 parent
5de9bd3
commit 24059bf
Showing
2 changed files
with
4 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters