From 91f6e32cf712514a3382d604db89129c279a2b61 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Dec 2018 22:59:19 +0000 Subject: [PATCH] Minor typing addition. --- volatility/cli/volshell/shellplugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/cli/volshell/shellplugin.py b/volatility/cli/volshell/shellplugin.py index b3dfa9ef2..4852f0edc 100644 --- a/volatility/cli/volshell/shellplugin.py +++ b/volatility/cli/volshell/shellplugin.py @@ -1,6 +1,6 @@ import code import inspect -from typing import Any, Callable, Dict +from typing import Any, Callable, Dict, List from volatility.framework import renderers, interfaces from volatility.framework.configuration import requirements @@ -10,7 +10,7 @@ class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image""" @classmethod - def get_requirements(cls): + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ requirements.TranslationLayerRequirement( name = 'primary', description = 'Kernel Address Space', architectures = ["Intel32", "Intel64"])