Skip to content

Commit

Permalink
Change message type format
Browse files Browse the repository at this point in the history
Co-authored-by: Max Leske <[email protected]>
  • Loading branch information
airween and theseion authored Aug 7, 2024
1 parent 1ae71fd commit c889a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/crs-rules-check/rules-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def check_ver_action(self, version):
'ruleid' : ruleid,
'line' : a['lineno'],
'endLine': a['lineno'],
'message': "rule's 'ver' action has incorrect value; rule id: %d, version: '%s', expected: '%s'" % (ruleid, ruleversion, crsversion)
'message': f"rule's 'ver' action has incorrect value; rule id: {ruleid}, version: '{ruleversion}', expected: '{crsversion}'"
})

def remove_comments(data):
Expand Down

0 comments on commit c889a04

Please sign in to comment.