aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-headerparser/headerlib/struct_walker.py
diff options
context:
space:
mode:
authorPalash Oswal <oswalpalash@gmail.com>2020-11-07 11:01:19 +0530
committerDmitry Vyukov <dvyukov@google.com>2020-11-10 08:20:05 +0100
commitcca8798699baeeccbf80af23d234ac19a5d667aa (patch)
tree8f9f04022041054b7fd5a46d6cfd61bd5da804d5 /tools/syz-headerparser/headerlib/struct_walker.py
parent64069d48f293e0be98d4a78a6f7be23861cc1e06 (diff)
tools/headerparser: update to python3
Updating scripts to use python3 using 2to3 as python2 is EOL
Diffstat (limited to 'tools/syz-headerparser/headerlib/struct_walker.py')
-rw-r--r--tools/syz-headerparser/headerlib/struct_walker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-headerparser/headerlib/struct_walker.py b/tools/syz-headerparser/headerlib/struct_walker.py
index 94cc89895..9bcd52d20 100644
--- a/tools/syz-headerparser/headerlib/struct_walker.py
+++ b/tools/syz-headerparser/headerlib/struct_walker.py
@@ -10,7 +10,7 @@ import collections
import logging
from pycparser import c_ast
-from header_preprocessor import HeaderFilePreprocessor
+from .header_preprocessor import HeaderFilePreprocessor
class StructWalkerException(Exception):