python: Reformat some files to keep style-check-diff happy

The version of `black` on the CI server wanted these changes. Make them
to keep the `style-check-diff` CI job from constantly failing.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2020-12-11 12:45:49 +00:00
parent a4be8577ed
commit 39f33412db
3 changed files with 4 additions and 8 deletions

View File

@@ -392,7 +392,7 @@ class HeaderCodeGenerator:
self.outfile.write("G_GNUC_DEPRECATED ")
self.outfile.write(
"void %s_set_%s (%s *object, %svalue);\n"
% (i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in,)
% (i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in)
)
self.outfile.write("\n")
@@ -2443,7 +2443,7 @@ class CodeGenerator:
self.outfile.write(
"void\n"
"%s_set_%s (%s *object, %svalue)\n"
"{\n" % (i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in,)
"{\n" % (i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in)
)
self.outfile.write(
' g_object_set (G_OBJECT (object), "%s", value, NULL);\n'