Commit 0e3b1372 authored by Philip Withnall's avatar Philip Withnall

codegen: Fix a minor Python linting warning

This introduces no functional changes.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=795304
parent 3a1536ba
......@@ -242,7 +242,7 @@ def codegen_main():
all_ifaces.extend(parsed_ifaces)
input_files_basenames.append(os.path.basename(fname))
if args.annotate != None:
if args.annotate is not None:
apply_annotations(all_ifaces, args.annotate)
for i in all_ifaces:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment