[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/26] qapi/parser.py: remove unused check_args_section arguments
From: |
John Snow |
Subject: |
[PATCH 20/26] qapi/parser.py: remove unused check_args_section arguments |
Date: |
Tue, 22 Sep 2020 18:35:19 -0400 |
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/parser.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.py
index fa0ddad922..a3403d4017 100644
--- a/scripts/qapi/parser.py
+++ b/scripts/qapi/parser.py
@@ -650,7 +650,7 @@ def check_expr(self, expr):
def check(self):
- def check_args_section(args, info, what):
+ def check_args_section(args):
bogus = [name for name, section in args.items()
if not section.member]
if bogus:
@@ -661,5 +661,5 @@ def check_args_section(args, info, what):
"', '".join(bogus),
"do" if len(bogus) > 1 else "does"))
- check_args_section(self.args, self.info, 'members')
- check_args_section(self.features, self.info, 'features')
+ check_args_section(self.args)
+ check_args_section(self.features)
--
2.26.2
- [PATCH 09/26] qapi/parser.py: assert get_expr returns object in outer loop, (continued)
- [PATCH 09/26] qapi/parser.py: assert get_expr returns object in outer loop, John Snow, 2020/09/22
- [PATCH 10/26] qapi/parser.py: assert object keys are strings, John Snow, 2020/09/22
- [PATCH 11/26] qapi/parser.py: Convert several methods to @classmethod, John Snow, 2020/09/22
- [PATCH 12/26] qapi/parser.py: add casts to pragma checks, John Snow, 2020/09/22
- [PATCH 13/26] qapi/parser.py: add type hint annotations, John Snow, 2020/09/22
- [PATCH 14/26] qapi/parser.py: add docstrings, John Snow, 2020/09/22
- [PATCH 15/26] qapi/parser.py: add ParsedExpression type, John Snow, 2020/09/22
- [PATCH 16/26] qapi/pragma.py: Move QAPISchemaPragma into its own module, John Snow, 2020/09/22
- [PATCH 18/26] qapi/parser.py: Modify _include() to use parser state, John Snow, 2020/09/22
- [PATCH 17/26] qapi/pragma.py: Move pragma parsing out of parser.py, John Snow, 2020/09/22
- [PATCH 20/26] qapi/parser.py: remove unused check_args_section arguments,
John Snow <=
- [PATCH 21/26] qapi/parser.py: QAPIDoc: convert @staticmethod to @classmethod, John Snow, 2020/09/22
- [PATCH 19/26] qapi/parser.py: add parent argument, John Snow, 2020/09/22
- [PATCH 23/26] qapi/parser.py: enable mypy checks, John Snow, 2020/09/22
- [PATCH 24/26] qapi/parser.py: remove one and two-letter variables, John Snow, 2020/09/22
- [PATCH 25/26] qapi/parser.py: Silence too-few-public-methods warning, John Snow, 2020/09/22
- [PATCH 26/26] qapi/parser.py: enable pylint checks, John Snow, 2020/09/22
- [PATCH 22/26] qapi/parser.py: add type hint annotations (QAPIDoc), John Snow, 2020/09/22
- Re: [PATCH 00/26] qapi: static typing conversion, pt5, John Snow, 2020/09/22