mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 13:34:53 +02:00
CLI: Apply black to recent changes
This commit is contained in:
@@ -88,7 +88,7 @@ class MuteProgress(PrintedProgress):
|
||||
class CommandLine:
|
||||
"""Constructs a command-line interface object for users to run plugins."""
|
||||
|
||||
CLI_NAME = os.path.basename(sys.argv[0]) # vol or volatility
|
||||
CLI_NAME = os.path.basename(sys.argv[0]) # vol or volatility
|
||||
|
||||
def __init__(self):
|
||||
self.setup_logging()
|
||||
@@ -386,7 +386,9 @@ class CommandLine:
|
||||
argcomplete.autocomplete(parser)
|
||||
args = parser.parse_args()
|
||||
if args.plugin is None:
|
||||
parser.error(f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options")
|
||||
parser.error(
|
||||
f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options"
|
||||
)
|
||||
|
||||
vollog.log(
|
||||
constants.LOGLEVEL_VVV, f"Cache directory used: {constants.CACHE_PATH}"
|
||||
|
||||
@@ -49,7 +49,7 @@ class VolShell(cli.CommandLine):
|
||||
python terminal with all the volatility support calls available.
|
||||
"""
|
||||
|
||||
CLI_NAME = os.path.basename(sys.argv[0]) # volshell
|
||||
CLI_NAME = os.path.basename(sys.argv[0]) # volshell
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user