From 834d47c7944190baf44148e7e6e809a5ffb74974 Mon Sep 17 00:00:00 2001 From: Alina Lenk Date: Mon, 3 Oct 2022 19:55:44 +0200 Subject: [PATCH 3/4] generate_packets.py: Remove array nesting limit See osdn#45754 Signed-off-by: Alina Lenk --- common/generate_packets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/generate_packets.py b/common/generate_packets.py index d9f8fac46a..352c3e377b 100755 --- a/common/generate_packets.py +++ b/common/generate_packets.py @@ -344,7 +344,7 @@ class Location: def index(self) -> str: """The index name for the current depth""" if self.depth > len(self._INDICES): - raise ValueError("nested too deeply") + return self._INDICES[0] + str(self.depth) # i3, i4, i5... return self._INDICES[self.depth] @property -- 2.34.1