Fix wrong continued indentation

This commit is contained in:
Alessio Sergi
2016-12-20 12:50:52 +01:00
parent bb01387e86
commit 74fa804e94
2 changed files with 4 additions and 5 deletions

View File

@@ -64,8 +64,7 @@ class Plugin(GlancesPlugin):
'timer': v.time_until_refresh(),
'count': v.count(),
'countmin': v.count_min(),
'countmax': v.count_max(),
})
'countmax': v.count_max()})
else:
# Not available in SNMP mode
pass

View File

@@ -477,9 +477,9 @@ class GlancesProcesses(object):
# ignore the 'kernel_task' process on OS X
# waiting for upstream patch from psutil
if (s is None or
BSD and s['name'] == 'idle' or
WINDOWS and s['name'] == 'System Idle Process' or
OSX and s['name'] == 'kernel_task'):
BSD and s['name'] == 'idle' or
WINDOWS and s['name'] == 'System Idle Process' or
OSX and s['name'] == 'kernel_task'):
continue
# Continue to the next process if it has to be filtered
if self._filter.is_filtered(s):