12 lines
434 B
Diff
12 lines
434 B
Diff
|
--- dnf-2.7.5/dnf/rpm/__init__.py.orig 2019-06-01 12:01:13.245618282 +0200
|
||
|
+++ dnf-2.7.5/dnf/rpm/__init__.py 2019-06-01 12:01:27.285686377 +0200
|
||
|
@@ -37,7 +37,7 @@
|
||
|
idx = ts.dbMatch('provides', distroverpkg)
|
||
|
except (TypeError, rpm.error) as e:
|
||
|
raise dnf.exceptions.Error('Error: %s' % str(e))
|
||
|
- if not len(idx):
|
||
|
+ if idx:
|
||
|
continue
|
||
|
try:
|
||
|
hdr = next(idx)
|