1 Star 0 Fork 12

chrisshangguan/distributed-build

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-feat-use-pyyaml-on-openeuler.patch 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
tianhang 提交于 2023-06-12 14:05 . init and add patches for openeuler build
From 76fa62cebb91efc4e41e50b024fc226d4ae34c1d Mon Sep 17 00:00:00 2001
From: tian hang <tian_hang@hoperun.com>
Date: Thu, 18 May 2023 08:43:41 +0000
Subject: [PATCH 05/11] feat:use pyyaml on openeuler
---
ohos/hisysevent/gen_def_from_all_yaml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ohos/hisysevent/gen_def_from_all_yaml.py b/ohos/hisysevent/gen_def_from_all_yaml.py
index 058ec0c..a2d4c92 100755
--- a/ohos/hisysevent/gen_def_from_all_yaml.py
+++ b/ohos/hisysevent/gen_def_from_all_yaml.py
@@ -24,7 +24,7 @@ sys.path.append(
os.path.dirname(
os.path.dirname(os.path.dirname(os.path.abspath(__file__))))))
-from third_party.PyYAML.lib import yaml # noqa: E402
+import yaml # noqa: E402
def format_validation(pattern, content):
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chrisshangguan/distributed-build.git
git@gitee.com:chrisshangguan/distributed-build.git
chrisshangguan
distributed-build
distributed-build
master

搜索帮助