From 93d4f8b2fa1924963f397a0d16e3e38ac4ef2352 Mon Sep 17 00:00:00 2001 From: Alessio Balsini Date: Tue, 11 Apr 2017 18:27:29 +0200 Subject: [PATCH] Fix missing parse_open_file method. gensyscalls.py was failing to execute because of a missing "self" keyword when calling parse_open_file. Test: manual test running gensyscalls.py. Change-Id: I78db2cba704c5ca56a730019e36601a7ccd069f8 --- libc/tools/gensyscalls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index fa3598484..ab7c247b6 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -511,7 +511,7 @@ class SysCallsTxtParser: def parse_file(self, file_path): logging.debug("parse_file: %s" % file_path) with open(file_path) as fp: - parse_open_file(fp) + self.parse_open_file(fp) class State: -- 2.11.0