mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 04:02:09 +01:00
gdbus-codegen: Address more black cleanups
This commit is contained in:
parent
1b345e411f
commit
4b05e06e1c
@ -1138,7 +1138,7 @@ class InterfaceInfoBodyCodeGenerator:
|
||||
"const %s * const %s[] =\n" % (element_type, array_name_lower)
|
||||
)
|
||||
self.outfile.write("{\n")
|
||||
for (_, name) in elements:
|
||||
for _, name in elements:
|
||||
self.outfile.write(" &%s,\n" % name)
|
||||
self.outfile.write(" NULL,\n")
|
||||
self.outfile.write("};\n")
|
||||
@ -2397,7 +2397,6 @@ class CodeGenerator:
|
||||
self.outfile.write("}\n")
|
||||
self.outfile.write("\n")
|
||||
if p.arg.free_func is not None:
|
||||
|
||||
self.outfile.write(
|
||||
self.docbook_gen.expand(
|
||||
"/**\n"
|
||||
|
@ -119,7 +119,7 @@ def apply_annotation(iface_list, iface, method, signal, prop, arg, key, value):
|
||||
|
||||
def apply_annotations(iface_list, annotation_list):
|
||||
# apply annotations given on the command line
|
||||
for (what, key, value) in annotation_list:
|
||||
for what, key, value in annotation_list:
|
||||
pos = what.find("::")
|
||||
if pos != -1:
|
||||
# signal
|
||||
|
Loading…
x
Reference in New Issue
Block a user