Skip to content

Commit aad6a56

Browse files
committed
Fix old typing mechanism
1 parent e2fb96a commit aad6a56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volatility3/cli/text_renderer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import string
1010
import sys
1111
from functools import wraps
12-
from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union
12+
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union
1313
from volatility3.cli import text_filter
1414

1515
from volatility3.framework import exceptions, interfaces, renderers
@@ -194,7 +194,7 @@ def render(
194194
render_func = render
195195
return super().__init__(render_func)
196196

197-
def render_bytes(self, data: renderers.LayerData) -> tuple[bytes, set[int]]:
197+
def render_bytes(self, data: renderers.LayerData) -> Tuple[bytes, Set[int]]:
198198
"""Renders a valid LayerData into bytes (with context bytes)"""
199199
context_byte_len = self.context_byte_len if not data.no_surrounding else 0
200200

0 commit comments

Comments
 (0)