diff --git a/salt/grains/disks.py b/salt/grains/disks.py index 8e584707782..9230ff5cc92 100644 --- a/salt/grains/disks.py +++ b/salt/grains/disks.py @@ -51,9 +51,8 @@ class _camconsts: SECTOR_SIZE = 'sector size' MEDIA_RPM = 'media RPM' - -_identify_attribs = {key: _camconsts.__dict__[key] for key in - _camconsts.__dict__ if not key.startswith('__')}.values() +_identify_attribs = [_camconsts.__dict__[key] for key in + _camconsts.__dict__ if not key.startswith('__')] def _freebsd_disks():