mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 18:27:39 +02:00
Black and ruff fixes
This commit is contained in:
@@ -485,10 +485,8 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject):
|
||||
].is_valid(self.FileName.Buffer)
|
||||
|
||||
def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]:
|
||||
name: Union[str, interfaces.renderers.BaseAbsentValue] = (
|
||||
renderers.UnreadableValue()
|
||||
)
|
||||
|
||||
name: Union[str, interfaces.renderers.BaseAbsentValue] = renderers.UnreadableValue()
|
||||
|
||||
# this pointer needs to be checked against native_layer_name because the object may
|
||||
# be instantiated from a primary (virtual) layer or a memory (physical) layer.
|
||||
if self._context.layers[self.vol.native_layer_name].is_valid(self.DeviceObject):
|
||||
|
||||
Reference in New Issue
Block a user