Closed matejak closed 6 years ago
Hello @matejak! Thanks for updating the PR.
openscap_daemon/evaluation_spec.py
, following are the PEP8 issues :Line 287:80: E501 line too long (80 > 79 characters) Line 355:80: E501 line too long (84 > 79 characters) Line 433:80: E501 line too long (81 > 79 characters) Line 466:80: E501 line too long (80 > 79 characters) Line 474:80: E501 line too long (80 > 79 characters) Line 489:25: E128 continuation line under-indented for visual indent Line 535:80: E501 line too long (80 > 79 characters) Line 548:80: E501 line too long (80 > 79 characters)
Some decisions I made may be revised by people more knowledgeable of the project, so make sure you read my own comments in the changed source code.
I have tested this and it reports an error perfectly. Thank you.
The code was basically already there, but attribute
message
of exceptions is not present in Python3. However, casting exceptions to strings works both ways.