mirror of https://gitee.com/openkylin/libvirt.git
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
scripts
|
@ -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