mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
724c8a1846
If the interface given cannot be matched, `iface_obj' was left uninitialized and the iface_obj == None check would end up crashing: Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 41, in <module> sys.exit(codegen_main.codegen_main()) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main apply_annotations(all_ifaces, opts.annotate) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations apply_annotation(iface_list, iface, None, None, None, None, key, value) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation if iface_obj == None: UnboundLocalError: local variable 'iface_obj' referenced before assignment Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683088 |
||
---|---|---|
.. | ||
__init__.py | ||
.gitignore | ||
codegen_docbook.py | ||
codegen_main.py | ||
codegen.py | ||
config.py.in | ||
dbustypes.py | ||
gdbus-codegen.in | ||
Makefile.am | ||
parser.py | ||
utils.py |