diff options
author | Alessio Sergi <al3hex@gmail.com> | 2015-09-23 13:13:37 +0200 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2015-09-23 13:13:37 +0200 |
commit | 59db8f898e0de8987312c7b9fc1d40615104d825 (patch) | |
tree | 46c2a3efd1cc28c6c032df8c4c0d7a00cda43f6d | |
parent | 108f93c464e0652423ccbbf5f8ea75819f7794fb (diff) |
Fix 'test for membership should be 'not in''
-rw-r--r-- | glances/plugins/glances_percpu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/glances_percpu.py b/glances/plugins/glances_percpu.py index 7e302789..bbccc4a0 100644 --- a/glances/plugins/glances_percpu.py +++ b/glances/plugins/glances_percpu.py @@ -91,7 +91,7 @@ class Plugin(GlancesPlugin): # Stats per-CPU for stat in ['user', 'system', 'idle', 'iowait', 'steal']: - if not stat in self.stats[0]: + if stat not in self.stats[0]: continue ret.append(self.curse_new_line()) |