Index: glib-2.55.2/gio/gdbus-2.0/codegen/codegen.py =================================================================== --- glib-2.55.2.orig/gio/gdbus-2.0/codegen/codegen.py +++ glib-2.55.2/gio/gdbus-2.0/codegen/codegen.py @@ -29,7 +29,7 @@ from . import dbustypes from .utils import print_error LICENSE_STR = '''/* - * Generated by gdbus-codegen {!s}. DO NOT EDIT. + * Generated by gdbus-codegen. DO NOT EDIT. * * The license of this code is the same as for the D-Bus interface description * it was derived from. @@ -65,7 +65,7 @@ class HeaderCodeGenerator: # ---------------------------------------------------------------------------------------------------- def generate_header_preamble(self): - self.outfile.write(LICENSE_STR.format(config.VERSION)) + self.outfile.write(LICENSE_STR) self.outfile.write('\n') if self.use_pragma: @@ -623,7 +623,7 @@ class CodeGenerator: # ---------------------------------------------------------------------------------------------------- def generate_body_preamble(self): - self.outfile.write(LICENSE_STR.format(config.VERSION)) + self.outfile.write(LICENSE_STR) self.outfile.write('\n') self.outfile.write('#ifdef HAVE_CONFIG_H\n' '# include "config.h"\n'