Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin debug: Use base._ts.dbCookie() to determining rpmdb version
The debug plugin used `base.sack._rpmdb_version()` method. Which is actually the private method `hawkey.Sack._rpmdb_version()` from libdnf. The patch uses the `base._ts.dbCookie()` method. This method was added to DNF 4.11.0. And internally it calls the new official API function `rpm.TransactionSet.dbCookie()` from librpm. This is a necessary step to allow the `._rpmdb_version()` method to be removed from libdnf.
- Loading branch information