Core: Fix verison typos

This commit is contained in:
Mike Auty
2020-08-26 22:04:50 +01:00
parent 8ed5767c92
commit 7afc4bfec7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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."""
@@ -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