From 4c75d4a5ca168ee6fca1e4cb80745c78627316a5 Mon Sep 17 00:00:00 2001 From: Caleb Date: Wed, 6 Nov 2024 14:17:28 -0500 Subject: [PATCH] fix minor cosmetic ixnvdimm output --- ixdiagnose/plugins/hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixdiagnose/plugins/hardware.py b/ixdiagnose/plugins/hardware.py index 91233a1..6cfa5f0 100644 --- a/ixdiagnose/plugins/hardware.py +++ b/ixdiagnose/plugins/hardware.py @@ -15,7 +15,7 @@ def nvdimm_info(client: MiddlewareClient, context: typing.Any) -> str: output = '' with os.scandir('/dev/') as sdir: for i in filter(lambda x: nmem.match(x.name), sdir): - output += f"{'=' * 20} {i.path} {'=' * 20}" + output += f"{'=' * 20} {i.path} {'=' * 20}\n" cp = run(f'/usr/local/sbin/ixnvdimm {i.path}', check=False) if cp.returncode: output += f'Failed to retrieve nvdimm info: {cp.stderr}\n\n'