gather: Fix formatting
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
428f8297e1
commit
89fcb79aca
@ -323,9 +323,11 @@ class Gather(GatherBase):
|
||||
|
||||
# DNF package has the _pre and _post attributes only if they are not
|
||||
# empty.
|
||||
requires = (pkg.requires +
|
||||
getattr(pkg, 'requires_pre', []) +
|
||||
getattr(pkg, 'requires_post', []))
|
||||
requires = (
|
||||
pkg.requires
|
||||
+ getattr(pkg, 'requires_pre', [])
|
||||
+ getattr(pkg, 'requires_post', [])
|
||||
)
|
||||
|
||||
q = self.q_binary_packages.filter(provides=requires).apply()
|
||||
for req in requires:
|
||||
|
Loading…
Reference in New Issue
Block a user