From 96456aaf46d13ee29529c4fb031a90f0e4a795a8 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 13 Dec 2023 14:37:17 -0500 Subject: [PATCH] mgr/orchestrator: clean up import style In the seemingly never-ending fight against line continuations and just blatting tons of stuff onto single lines another small victory is won. Signed-off-by: John Mulligan --- src/pybind/mgr/orchestrator/module.py | 33 +++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 96a2d91040124..3e80621ef8386 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -26,13 +26,32 @@ from mgr_util import to_pretty_timedelta, format_bytes from mgr_module import MgrModule, HandleCommandResult, Option from object_format import Format -from ._interface import OrchestratorClientMixin, DeviceLightLoc, _cli_read_command, \ - raise_if_exception, _cli_write_command, OrchestratorError, \ - NoOrchestrator, OrchestratorValidationError, NFSServiceSpec, \ - RGWSpec, InventoryFilter, InventoryHost, HostSpec, CLICommandMeta, \ - ServiceDescription, DaemonDescription, IscsiServiceSpec, json_to_generic_spec, \ - GenericSpec, DaemonDescriptionStatus, SNMPGatewaySpec, MDSSpec, TunedProfileSpec, \ - NvmeofServiceSpec +from ._interface import ( + CLICommandMeta, + DaemonDescription, + DaemonDescriptionStatus, + DeviceLightLoc, + GenericSpec, + HostSpec, + InventoryFilter, + InventoryHost, + IscsiServiceSpec, + MDSSpec, + NFSServiceSpec, + NoOrchestrator, + NvmeofServiceSpec, + OrchestratorClientMixin, + OrchestratorError, + OrchestratorValidationError, + RGWSpec, + SNMPGatewaySpec, + ServiceDescription, + TunedProfileSpec, + _cli_read_command, + _cli_write_command, + json_to_generic_spec, + raise_if_exception, +) def nice_delta(now: datetime.datetime, t: Optional[datetime.datetime], suffix: str = '') -> str: -- 2.39.5