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

base: set problem filter after all flags are set (RhBug:1328674) #471

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions dnf/base.py
Expand Up @@ -577,6 +577,8 @@ def do_transaction(self, display=()):
logger.info(_('Running transaction test'))
if not self.conf.diskspacecheck:
self.rpm_probfilter.add(rpm.RPMPROB_FILTER_DISKSPACE)
probfilter = reduce(operator.or_, self.rpm_probfilter, 0)
self.ts.setProbFilter(probfilter)

self.ts.order() # order the transaction
self.ts.clean() # release memory not needed beyond this point
Expand Down