We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afcf40e commit ff10480Copy full SHA for ff10480
1 file changed
scapy/layers/windows/registry.py
@@ -11,9 +11,10 @@
11
12
import struct
13
14
-from enum import Enum, IntEnum, IntFlag
+from enum import IntEnum, IntFlag
15
from typing import Optional, Union, List
16
17
+from scapy.compat import StrEnum
18
from scapy.packet import Packet
19
from scapy.error import log_runtime
20
@@ -60,7 +61,7 @@
60
61
)
62
63
-class RootKeys(str, Enum):
64
+class RootKeys(StrEnum):
65
"""
66
Standard root keys for the Windows registry
67
0 commit comments