diff --git a/glances/plugins/glances_amps.py b/glances/plugins/glances_amps.py index 637b48f5..9ea047c3 100644 --- a/glances/plugins/glances_amps.py +++ b/glances/plugins/glances_amps.py @@ -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 diff --git a/glances/processes.py b/glances/processes.py index b04ba2e5..a316be98 100644 --- a/glances/processes.py +++ b/glances/processes.py @@ -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):