Skip to content

Commit c2c7992

Browse files
alien-valkyrieXingbo Huang
authored andcommitted
generate_packets.py: Fix crash under Python 3.13
This is a workaround for python/cpython#125710 Reported by Marko Lindqvist See RM #975 Signed-off-by: Alina Lenk <alina.v.lenk@gmail.com>
1 parent 7fd2cfa commit c2c7992

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎common/generate_packets.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3338,7 +3338,7 @@ def __init__(self, cfg: ScriptConfig, packet_type: str, packet_number: int, flag
33383338

33393339
if not dirs:
33403340
raise ValueError(f"no directions defined for {self.type}")
3341-
self.dirs = Directions(dirs)
3341+
self.dirs = Directions(frozenset(dirs))
33423342

33433343
raw_fields = [
33443344
field

0 commit comments

Comments
 (0)