From 7afc4bfec74e3471342751a62d261d83e1ef7caa Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 26 Aug 2020 22:04:43 +0100 Subject: [PATCH] Core: Fix verison typos --- volatility/framework/interfaces/plugins.py | 4 ++-- volatility/framework/symbols/linux/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility/framework/interfaces/plugins.py b/volatility/framework/interfaces/plugins.py index fd55f0961..ba68cac1e 100644 --- a/volatility/framework/interfaces/plugins.py +++ b/volatility/framework/interfaces/plugins.py @@ -79,7 +79,7 @@ class PluginInterface(interfaces.configuration.ConfigurableInterface, """ # Be careful with inheritance around this - _required_framework_verison = (1, 0, 0) # type: Tuple[int, int, int] + _required_framework_version = (1, 0, 0) # type: Tuple[int, int, int] """The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules""" def __init__(self, @@ -102,7 +102,7 @@ class PluginInterface(interfaces.configuration.ConfigurableInterface, raise exceptions.PluginRequirementException("The plugin configuration failed to validate") self._file_consumer = None # type: Optional[FileConsumerInterface] - framework.require_interface_version(*self._required_framework_verison) + framework.require_interface_version(*self._required_framework_version) def set_file_consumer(self, consumer: FileConsumerInterface) -> None: """Sets the file consumer to be used by this plugin.""" diff --git a/volatility/framework/symbols/linux/__init__.py b/volatility/framework/symbols/linux/__init__.py index de06f985c..d8c88d07a 100644 --- a/volatility/framework/symbols/linux/__init__.py +++ b/volatility/framework/symbols/linux/__init__.py @@ -40,7 +40,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _verison = (1, 0, 0) + _version = (1, 0, 0) # based on __d_path from the Linux kernel @classmethod