Dominique Leuenberger
0c6d04a059
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/583616 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=356
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
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'
|