From 0bf46eaf77596f66acd76236d842953c4a77b22d Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Fri, 15 Nov 2019 11:33:33 +0200 Subject: [PATCH] drives/windows: psutil does not report device any way, remove it --- pupy/modules/drives.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pupy/modules/drives.py b/pupy/modules/drives.py index 5ab2fe00..a647e168 100644 --- a/pupy/modules/drives.py +++ b/pupy/modules/drives.py @@ -173,7 +173,6 @@ class Drives(PupyModule): for drive in drives: formatted_drives.append({ - 'DEV': drive['device'], 'MP': drive['mountpoint'], 'FS': drive['fstype'], 'OPTS': drive['opts'], @@ -185,7 +184,7 @@ class Drives(PupyModule): ) if ('used' in drive and 'total' in drive) else '?' }) - parts.append(Table(formatted_drives, ['DEV', 'MP', 'FS', 'OPTS', 'USED'])) + parts.append(Table(formatted_drives, ['MP', 'FS', 'OPTS', 'USED'])) providers = {}