Closes: https://pagure.io/copr/copr/issue/1803
+1
FTR it should be possible to use with dnf.Base() as base:
with dnf.Base() as base:
rebased onto 57d511ad5ffe9c7d1d1e5a2fe2d9a7d6be24dc3d
That is actually a good point. I updated the code so it doesn't look like an unintentional close() statement. PTAL
LGTM
Commit 2fc24968 fixes this pull-request
Pull-Request has been merged by praiskup
This PR has been migrated to GitHub as a placeholder issue: https://github.com/fedora-copr/prunerepo/issues/14
Closes: https://pagure.io/copr/copr/issue/1803