Change old-style class to "new"-style class
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
1de04d3dca
commit
48bad06778
|
@ -351,7 +351,7 @@ link_cwe_pattern = re.compile(r'(CWE-([1-9][0-9]+))([,()])')
|
|||
find_cwe_pattern = re.compile(r'\(CWE-[^)]*\)')
|
||||
|
||||
|
||||
class Hit:
|
||||
class Hit(object):
|
||||
"""
|
||||
Each instance of Hit is a warning of some kind in a source code file.
|
||||
See the rulesets, which define the conditions for triggering a hit.
|
||||
|
|
Loading…
Reference in New Issue