1 Star 0 Fork 71

jokenzhang/src-libvirt

forked from src-openEuler/libvirt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
apibuild-Fix-self.waring-method-call.patch 1021 Bytes
一键复制 编辑 原始数据 按行查看 历史
yezengruan 提交于 2022-08-11 19:26 . apibuild: Fix self.waring method call
From 58d0830491d3be2fedec55f42f6f832d32783a73 Mon Sep 17 00:00:00 2001
From: luzhipeng <luzhipeng@cestc.cn>
Date: Sat, 7 May 2022 09:17:31 +0800
Subject: [PATCH] apibuild: Fix self.waring method call
The parameters of self.warning is inconsistent with its definition, So
fix it.
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
---
scripts/apibuild.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/apibuild.py b/scripts/apibuild.py
index 05a169c30d..c98bcf6091 100755
--- a/scripts/apibuild.py
+++ b/scripts/apibuild.py
@@ -315,7 +315,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))
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/omnihorizon/src-libvirt.git
git@gitee.com:omnihorizon/src-libvirt.git
omnihorizon
src-libvirt
src-libvirt
master

搜索帮助