1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-03 08:21:58 +03:00

python: generator: Don't print warning if nothing to warn about

This commit is contained in:
Cole Robinson
2011-06-15 17:57:37 -04:00
parent 9756e429f6
commit 6d991ee5d2

View File

@ -655,9 +655,11 @@ def buildStubs():
print "Generated %d wrapper functions" % nb_wrap print "Generated %d wrapper functions" % nb_wrap
print "Missing type converters: " if unknown_types:
for type in unknown_types.keys(): print "Missing type converters: "
print "%s:%d " % (type, len(unknown_types[type])), for type in unknown_types.keys():
print "%s:%d " % (type, len(unknown_types[type])),
print print
for f in functions_failed: for f in functions_failed: