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
This commit is contained in:
Philip Withnall 2018-04-17 14:13:05 +01:00
parent 3a1536ba34
commit 0e3b137210

View File

@ -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: