mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
esx: Refactor a repeated string in the generator
This commit is contained in:
parent
3a52b864dd
commit
678cd0f04b
@ -1817,17 +1817,19 @@ for obj in managed_objects_by_name.values():
|
||||
|
||||
|
||||
|
||||
types_typedef.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
types_typeenum.write("/* Generated by esx_vi_generator.py */\n\n")
|
||||
types_typetostring.write("/* Generated by esx_vi_generator.py */\n\n")
|
||||
types_typefromstring.write("/* Generated by esx_vi_generator.py */\n\n")
|
||||
types_header.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
types_source.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
methods_header.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
methods_source.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
methods_macro.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
helpers_header.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
helpers_source.write("/* Generated by esx_vi_generator.py */\n\n\n\n")
|
||||
notice = "/* Generated by esx_vi_generator.py */\n\n\n\n"
|
||||
|
||||
types_typedef.write(notice)
|
||||
types_typeenum.write(notice)
|
||||
types_typetostring.write(notice)
|
||||
types_typefromstring.write(notice)
|
||||
types_header.write(notice)
|
||||
types_source.write(notice)
|
||||
methods_header.write(notice)
|
||||
methods_source.write(notice)
|
||||
methods_macro.write(notice)
|
||||
helpers_header.write(notice)
|
||||
helpers_source.write(notice)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user