diff options
-rwxr-xr-x | generator.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generator.py b/generator.py index cf5ceb5..2c8fd69 100755 --- a/generator.py +++ b/generator.py @@ -655,9 +655,11 @@ def buildStubs(): print "Generated %d wrapper functions" % nb_wrap - print "Missing type converters: " - for type in unknown_types.keys(): - print "%s:%d " % (type, len(unknown_types[type])), + if unknown_types: + print "Missing type converters: " + for type in unknown_types.keys(): + print "%s:%d " % (type, len(unknown_types[type])), + print for f in functions_failed: |