pylint: fix old-style super calls

This commit is contained in:
Willi Ballenthin
2022-12-06 16:02:21 +00:00
parent 8527d02dc8
commit 1caeb248ca
25 changed files with 95 additions and 97 deletions

View File

@@ -151,7 +151,7 @@ class MbcExtractor(MitreExtractor):
def _get_tactics(self) -> List[Dict]:
"""Override _get_tactics to edit the tactic name for Micro-objective"""
tactics = super(MbcExtractor, self)._get_tactics()
tactics = super()._get_tactics()
# We don't want the Micro-objective string inside objective names
for tactic in tactics:
tactic["name"] = tactic["name"].replace(" Micro-objective", "")