mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-31 12:19:42 +02:00
Remove abstract method from classmethods (since it won't error if the abstract method isn't implemented until instantiation.
This commit is contained in:
@@ -87,13 +87,12 @@ class ObjectInterface(validity.ValidityRoutines, metaclass = ABCMeta):
|
||||
object_info = ObjectInformation(layer_name = self.vol.layer_name,
|
||||
offset = self.vol.offset))
|
||||
|
||||
class VolTemplateProxy(object, metaclass = ABCMeta):
|
||||
class VolTemplateProxy(object):
|
||||
"""A container for proxied methods that the ObjectTemplate of this object will call.
|
||||
|
||||
They are class methods rather than static methods, to allow for code reuse."""
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def size(cls, template):
|
||||
"""Returns the size of the template object"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user