mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-01 04:39:03 +02:00
Update volatility3/framework/objects/__init__.py
Fix typo Co-authored-by: Donghyun Kim <digitalisx99@gmail.com>
This commit is contained in:
@@ -605,7 +605,7 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence):
|
||||
@classmethod
|
||||
def child_template(cls, template: interfaces.objects.Template, child: str) -> interfaces.objects.Template:
|
||||
"""Returns the template of the child member."""
|
||||
if 'subtype' in template.vol and child == 'subtype'@
|
||||
if 'subtype' in template.vol and child == 'subtype':
|
||||
return template.vol.subtype
|
||||
raise IndexError(f"Member not present in array template: {child}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user