From 30673d428affad7093c49ee61cd3f60ad26576db Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 10 Mar 2018 19:40:50 +0000 Subject: [PATCH] Fix up incorrect typing information. --- volatility/plugins/windows/printkey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/plugins/windows/printkey.py b/volatility/plugins/windows/printkey.py index ad298a0a1..4269e3cbe 100644 --- a/volatility/plugins/windows/printkey.py +++ b/volatility/plugins/windows/printkey.py @@ -3,7 +3,7 @@ import logging import typing import volatility.framework.interfaces.plugins as plugins -from volatility.framework import renderers +from volatility.framework import objects, renderers from volatility.framework.configuration import requirements from volatility.framework.layers.registry import RegistryHive from volatility.framework.renderers import TreeGrid @@ -38,7 +38,7 @@ class PrintKey(plugins.PluginInterface): def update_configuration(self): """No operation since all values provided by config/requirements initially""" - def hive_walker(self, hive: RegistryHive, node: int = None, key_path: str = None) \ + def hive_walker(self, hive: RegistryHive, node: objects.Struct = None, key_path: str = None) \ -> typing.Generator: if not node: node = hive.get_node(hive.root_cell_offset)