forked from pool/rpmlint
17 lines
521 B
Diff
17 lines
521 B
Diff
|
--- DocFilesCheck.py
|
||
|
+++ DocFilesCheck.py
|
||
|
@@ -60,8 +60,11 @@
|
||
|
name = dep.N()
|
||
|
flags = dep.Flags()
|
||
|
# skip deps which were found by find-requires
|
||
|
- if flags & rpm.RPMSENSE_FIND_REQUIRES != 0:
|
||
|
- continue
|
||
|
+ try:
|
||
|
+ if flags & rpm.RPMSENSE_FIND_REQUIRES != 0:
|
||
|
+ continue
|
||
|
+ except:
|
||
|
+ pass
|
||
|
core_reqs[name] = []
|
||
|
|
||
|
# register things which are provided by the package
|