From: luzhipeng Date: Sat, 7 May 2022 01:17:31 +0000 (+0800) Subject: apibuild: Fix self.waring method call X-Git-Tag: v8.4.0-rc1~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e009bbdb82af53886808ee0dcdca760dd4dbfde;p=thirdparty%2Flibvirt.git apibuild: Fix self.waring method call The parameters of self.warning is inconsistent with its definition, So fix it. Signed-off-by: luzhipeng Reviewed-by: Martin Kletzander --- diff --git a/scripts/apibuild.py b/scripts/apibuild.py index 2a343208c5..23a66734ac 100755 --- a/scripts/apibuild.py +++ b/scripts/apibuild.py @@ -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))