Skip to content

Commit

Permalink
Fix Code Climate problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-cerny committed Nov 27, 2024
1 parent 0a6edbd commit 445a855
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssg/oval_object_model/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def required_attribute(_xml_el, _key):
if _key in _xml_el.attrib:
return _xml_el.get(_key)
raise ValueError(
"%s attribute is required but was not found in %s element:\n%s" % (_key, _xml_el.tag, repr(_xml_el.attrib))
"%s attribute is required but was not found in %s element:\n%s" % (
_key, _xml_el.tag, repr(_xml_el.attrib))
)


Expand Down

0 comments on commit 445a855

Please sign in to comment.