Further improvements to Python code as suggested by Pylint

Merge request reports

Loading