From cca8798699baeeccbf80af23d234ac19a5d667aa Mon Sep 17 00:00:00 2001 From: Palash Oswal Date: Sat, 7 Nov 2020 11:01:19 +0530 Subject: tools/headerparser: update to python3 Updating scripts to use python3 using 2to3 as python2 is EOL --- tools/syz-headerparser/headerlib/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/syz-headerparser/headerlib/container.py') diff --git a/tools/syz-headerparser/headerlib/container.py b/tools/syz-headerparser/headerlib/container.py index d4d813480..80765c0d5 100644 --- a/tools/syz-headerparser/headerlib/container.py +++ b/tools/syz-headerparser/headerlib/container.py @@ -210,7 +210,7 @@ class GlobalHierarchy(dict): sr.set_global_hierarchy(self) self["struct %s" % (struct_name)] = sr - for struct_name in self.keys(): + for struct_name in list(self.keys()): sr = self[struct_name] for field in sr.get_fields(): # If the item is a struct object, we link it against an -- cgit mrf-deployment