use Exception instead of BaseException for bare expection
This commit is contained in:
parent
b3b0c8d51e
commit
cf34706f04
21 changed files with 70 additions and 70 deletions
|
|
@ -71,7 +71,7 @@ class Rpmdiff:
|
|||
except AttributeError:
|
||||
try:
|
||||
PREREQ_FLAG = rpm.RPMSENSE_PREREQ
|
||||
except BaseException:
|
||||
except Exception:
|
||||
# (proyvind): This seems ugly, but then again so does
|
||||
# this whole check as well.
|
||||
PREREQ_FLAG = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue