mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Fix up additional imports inconsistent with the coding style.
Note: also remove interfaces_configuration where ever possible (this is not possible in the interfaces directory itself because it would cause an import loop).
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import logging
|
||||
|
||||
from volatility.framework import interfaces, validity
|
||||
from volatility.framework.exceptions import SymbolError
|
||||
from volatility.framework import interfaces, validity, exceptions
|
||||
|
||||
vollog = logging.getLogger(__name__)
|
||||
|
||||
@@ -71,7 +70,8 @@ class ReferenceTemplate(interfaces.objects.Template):
|
||||
"""Referenced symbols must be appropriately resolved before they can provide information such as size
|
||||
This is because the size request has no context within which to determine the actual symbol structure.
|
||||
"""
|
||||
raise SymbolError("Template contains no information about its structure: {}".format(self.vol.type_name))
|
||||
raise exceptions.SymbolError(
|
||||
"Template contains no information about its structure: {}".format(self.vol.type_name))
|
||||
|
||||
size = property(_unresolved)
|
||||
replace_child = relative_child_offset = _unresolved
|
||||
|
||||
Reference in New Issue
Block a user