mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 07:55:06 +03:00
generator: Use increment assignment
:%s,\(\w\+\)\s*=\s*\1\s*+,\1 +=, Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
parent
03b558b32e
commit
9e325358de
@ -975,15 +975,15 @@ def buildStubs(module, api_xml):
|
||||
# Skip the functions which are not for the module
|
||||
ret = print_function_wrapper(module, function, wrapper, export, include)
|
||||
if ret < 0:
|
||||
failed = failed + 1
|
||||
failed += 1
|
||||
funcs_failed.append(function)
|
||||
del funcs[function]
|
||||
if ret == 0:
|
||||
skipped = skipped + 1
|
||||
skipped += 1
|
||||
funcs_skipped.append(function)
|
||||
del funcs[function]
|
||||
if ret == 1:
|
||||
nb_wrap = nb_wrap + 1
|
||||
nb_wrap += 1
|
||||
|
||||
if module == "libvirt":
|
||||
# Write C pointer conversion functions.
|
||||
|
Loading…
Reference in New Issue
Block a user