gnetcli-adapter 2.1.0__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/PKG-INFO +1 -1
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/src/gnetcli_adapter/gnetcli_adapter.py +3 -1
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/LICENSE +0 -0
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/README.md +0 -0
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/pyproject.toml +0 -0
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/src/gnetcli_adapter/__init__.py +0 -0
- {gnetcli_adapter-2.1.0 → gnetcli_adapter-2.2.0}/src/gnetcli_adapter/progress_tracker.py +0 -0
|
@@ -162,7 +162,7 @@ def run_gnetcli_server(server_path: str, config: str = DEFAULT_GNETCLI_SERVER_CO
|
|
|
162
162
|
try:
|
|
163
163
|
proc = subprocess.Popen(
|
|
164
164
|
[gnetcli_abs_path, "--conf-file", "-"],
|
|
165
|
-
stdout=subprocess.
|
|
165
|
+
stdout=subprocess.DEVNULL, # we do not read stdout
|
|
166
166
|
stderr=subprocess.PIPE,
|
|
167
167
|
stdin=subprocess.PIPE,
|
|
168
168
|
bufsize=1,
|
|
@@ -188,6 +188,8 @@ def run_gnetcli_server(server_path: str, config: str = DEFAULT_GNETCLI_SERVER_CO
|
|
|
188
188
|
else:
|
|
189
189
|
if data.get("msg") == "init tcp socket":
|
|
190
190
|
_local_gnetcli_url = data.get("address")
|
|
191
|
+
if data.get("msg") == "init unix socket":
|
|
192
|
+
_local_gnetcli_url = "unix:" + data.get("path")
|
|
191
193
|
if data.get("level") == "panic":
|
|
192
194
|
_logger.error("gnetcli error %s", data)
|
|
193
195
|
_logger.debug("set gnetcli server exit code %s", proc.returncode)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|