Skip to content

Commit 3eec74a

Browse files
author
Nuno Tavares
committed
cleanup unused vars from original script
1 parent ed76a06 commit 3eec74a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dmidecode.py

-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def _get(i):
134134
l = _get_labels(cpu, ['Manufacturer','Family', 'Max Speed', 'Core Count'], ['Not Specified'])
135135
print ('node_dmi_processor{{{}}} 1'.format( ','.join('{}="{}"'.format(k,v) for k,v in l.items()) ))
136136

137-
cnt, total, unit = 0, 0, None
138137
for mem in _get('memory device'):
139138
if mem['Size'] == 'No Module Installed':
140139
continue

0 commit comments

Comments
 (0)