Description of problem:
Current code of rh-rhui-tools does not look following popular python
coding guidelines that maybe cause decrease of maintainability.
Version-Release number of selected component (if applicable):
RHUI v3 beta.2
I'll upload some PoC patches not tested (unit tests
are must for safer refactoring but it looks not unfortunately.)
Created attachment 1243504 [details]
Patch removes use of deprecated lang features like reduce, filter, etc.
Created attachment 1243505 [details]
Patch simplify true/false statements
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.