mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
Since 1217b1bc4f242c14d6eabbee0c688c320eab2e4d, LICENSE_STR has taken two parameters, not one. Without this change, running either mode fails with a traceback like: Traceback (most recent call last): File "../gdbus-codegen", line 55, in <module> sys.exit(codegen_main.codegen_main()) File ".../codegen_main.py", line 294, in codegen_main gen.generate() File ".../codegen.py", line 896, in generate self.generate_body_preamble() File ".../codegen.py", line 682, in generate_body_preamble self.outfile.write(LICENSE_STR.format(config.VERSION)) IndexError: tuple index out of range 8916874ee6f3ff0f887dbe1eda55c23c2c0097ee, which introduced these flags, was actually merged after that commit, but I assume it was written beforehand.