pkgship/0008-fix-simplejson-question.patch
liheavy eaff2a1953 fix encoding format and init problem
(cherry picked from commit 43a22e413f4a169fdd65c20ee09fa4659375efc4)
2021-11-22 10:12:19 +08:00

14 lines
702 B
Diff

diff --git a/packageship/application/initialize/integration.py b/packageship/application/initialize/integration.py
index 99668eeb51b8199b5a80daea1917cbb395e57824..6a5c00f867dfcf54c629a5a48a8c1b5b44a442b1 100644
--- a/packageship/application/initialize/integration.py
+++ b/packageship/application/initialize/integration.py
@@ -304,7 +304,7 @@ class InitializeService:
es_json["provides"] = list()
for provide in self._bin_provides.get(bin_pack["pkgKey"]):
- component_json = ESJson()
+ component_json = dict()
component_json['component'] = provide["name"]
_build(component_json, provide)
_install(component_json, provide)