mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
apibuild: Fix self.waring method call
The parameters of self.warning is inconsistent with its definition, So fix it. Signed-off-by: luzhipeng <luzhipeng@cestc.cn> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
1512119afd
commit
3e009bbdb8
@ -328,7 +328,7 @@ class index:
|
||||
if type in type_map:
|
||||
type_map[type][name] = d
|
||||
else:
|
||||
self.warning("Unable to register type ", type)
|
||||
self.warning("Unable to register type %s" % type)
|
||||
|
||||
if name == debugsym and not quiet:
|
||||
print("New symbol: %s" % (d))
|
||||
|
Loading…
Reference in New Issue
Block a user