diff options
author | Philip Withnall <withnall@endlessm.com> | 2018-04-17 14:13:05 +0100 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-04-22 15:37:01 -0500 |
commit | b2b72837b0545e297db7ded8773377b4b6473a55 (patch) | |
tree | f5862369c3f6d0f770d58fe6d46c6d54c2f53a6e | |
parent | 11de9adfe6f57521ea5ed881b6862480c742414c (diff) | |
download | glib-b2b72837b0545e297db7ded8773377b4b6473a55.tar.gz |
codegen: Fix a minor Python linting warning
This introduces no functional changes.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=795304
-rwxr-xr-x | gio/gdbus-2.0/codegen/codegen_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py index d3763eb0f..fa9c71373 100755 --- a/gio/gdbus-2.0/codegen/codegen_main.py +++ b/gio/gdbus-2.0/codegen/codegen_main.py @@ -240,7 +240,7 @@ def codegen_main(): parsed_ifaces = parser.parse_dbus_xml(xml_data) all_ifaces.extend(parsed_ifaces) - if args.annotate != None: + if args.annotate is not None: apply_annotations(all_ifaces, args.annotate) for i in all_ifaces: |