From 87ba138863536757c727e60ca6896dcd5c7ce162 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 6 May 2024 11:42:28 +0000 Subject: [PATCH] style: Automatic code formatting --- analyzer/linux/lib/common/results.py | 2 +- analyzer/linux/lib/core/packages.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/analyzer/linux/lib/common/results.py b/analyzer/linux/lib/common/results.py index d3f44d86916..365b089fa7d 100644 --- a/analyzer/linux/lib/common/results.py +++ b/analyzer/linux/lib/common/results.py @@ -59,7 +59,7 @@ def append_buffer_to_host(buffer, nc=None): nc.send(buffer[idx : idx + BUFSIZE], retry=False) idx += BUFSIZE except Exception: - raise ConnectionResetError + raise ConnectionResetError nc.buffer_size += size diff --git a/analyzer/linux/lib/core/packages.py b/analyzer/linux/lib/core/packages.py index 8cf8f6f25ee..afd596e655b 100644 --- a/analyzer/linux/lib/core/packages.py +++ b/analyzer/linux/lib/core/packages.py @@ -6,9 +6,9 @@ import inspect import logging import subprocess -from threading import Thread, Event import timeit from os import environ, path, sys +from threading import Event, Thread from lib.common.results import NetlogFile, append_buffer_to_host