From cda9d25f88ca2ebc70ae21513a351a7ef1f701e1 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Fri, 12 Jul 2024 00:52:13 +0800 Subject: [PATCH] Chore: [ALAS] Abstract platform condition (cherry picked from commit 6064457620b202da7442884b45f9e21556df88b8) --- module/device/connection.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/device/connection.py b/module/device/connection.py index 366423afc..56a9e310c 100644 --- a/module/device/connection.py +++ b/module/device/connection.py @@ -15,9 +15,8 @@ from module.base.decorator import Config, cached_property, del_cached_property, from module.base.utils import SelectedGrids, ensure_time from module.device.connection_attr import ConnectionAttr from module.device.env import IS_LINUX, IS_MACINTOSH, IS_WINDOWS -from module.device.method.utils import ( - PackageNotInstalled, RETRY_TRIES, get_serial_pair, handle_adb_error, - possible_reasons, random_port, recv_all, remove_shell_warning, retry_sleep) +from module.device.method.utils import (PackageNotInstalled, RETRY_TRIES, get_serial_pair, handle_adb_error, + possible_reasons, random_port, recv_all, remove_shell_warning, retry_sleep) from module.exception import EmulatorNotRunningError, RequestHumanTakeover from module.logger import logger