From c7db4f4223ed2dd3af0c66ae22e4fe7186bdc9f4 Mon Sep 17 00:00:00 2001 From: shatoboar <57257492+shatoboar@users.noreply.github.com> Date: Tue, 27 Apr 2021 12:28:26 +0200 Subject: [PATCH] changed variable name to avoid collision in python3 (#4903) * changed variable name to avoid collision in python3 * changed variablenames to avoid collision and allow use of python3 --- tools/apidoc/gen_toc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py index 0b0702ac86c..84140eefadb 100644 --- a/tools/apidoc/gen_toc.py +++ b/tools/apidoc/gen_toc.py @@ -248,10 +248,10 @@ for f in sys.argv: def xml_for(command): name = command['name'] - async = command['async'] and ' (A)' or '' + isAsync = command['async'] and ' (A)' or '' dirname = command['dirname'] return ''' -
  • %(async)s
  • +
  • %(isAsync)s
  • ''' % locals()