mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 20:27:38 +02:00
Fix CodeQL error
This commit is contained in:
@@ -99,6 +99,7 @@ class HelpfulArgParser(argparse.ArgumentParser):
|
||||
# return the number of arguments matched
|
||||
return len(match.group(1))
|
||||
|
||||
def _check_value(self, action, value):
|
||||
def _check_value(self, action: argparse.Action, value: Any) -> None:
|
||||
if not isinstance(action, HelpfulSubparserAction):
|
||||
return super()._check_value(action, value)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user