mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 20:07:23 -04:00
Fix wrong continued indentation
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user