Change old-style class to "new"-style class

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2017-07-30 20:07:05 -04:00
parent 1de04d3dca
commit 48bad06778
1 changed files with 3 additions and 3 deletions

View File

@ -351,7 +351,7 @@ link_cwe_pattern = re.compile(r'(CWE-([1-9][0-9]+))([,()])')
find_cwe_pattern = re.compile(r'\(CWE-[^)]*\)') 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. 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. See the rulesets, which define the conditions for triggering a hit.