diff options
author | Philipp Hahn <hahn@univention.de> | 2018-11-20 11:32:54 +0100 |
---|---|---|
committer | Jano Tomko <jtomko@redhat.com> | 2020-09-01 13:26:01 +0000 |
commit | f36643acacaa80b017820fa746cce636c2607371 (patch) | |
tree | 7a7958f87a69ba2158f293e38bc6373d1be73c7a /generator.py | |
parent | ada1554532a6c8ec1cd90f63bda6ae0ef342f955 (diff) | |
download | libvirt-python-f36643acacaa80b017820fa746cce636c2607371.tar.gz |
generator: Just walk the dict
instead of generating a list first.
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.py b/generator.py index 4c365d6..9dd16ef 100755 --- a/generator.py +++ b/generator.py @@ -958,7 +958,7 @@ def buildStubs(module, api_xml): wrapper.write("#include \"typewrappers.h\"\n") wrapper.write("#include \"build/" + module + ".h\"\n\n") - for function in sorted(funcs.keys()): + for function in sorted(funcs): # Skip the functions which are not for the module ret = print_function_wrapper(module, function, wrapper, export, include) if ret < 0: |