mirror of https://github.com/nicolargo/glances
Fix wrong continued indentation
parent
bb01387e86
commit
74fa804e94
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue