mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-30 11:25:47 +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:
|
if type in type_map:
|
||||||
type_map[type][name] = d
|
type_map[type][name] = d
|
||||||
else:
|
else:
|
||||||
self.warning("Unable to register type ", type)
|
self.warning("Unable to register type %s" % type)
|
||||||
|
|
||||||
if name == debugsym and not quiet:
|
if name == debugsym and not quiet:
|
||||||
print("New symbol: %s" % (d))
|
print("New symbol: %s" % (d))
|
||||||
|
Loading…
Reference in New Issue
Block a user