mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 09:11:49 +03:00
Correct an issue with unit tests
This commit is contained in:
parent
b715fc2aba
commit
2aa7ea15c5
@ -333,7 +333,8 @@ class GlancesProcesses(object):
|
|||||||
|
|
||||||
def is_selected_extended_process(self, position):
|
def is_selected_extended_process(self, position):
|
||||||
"""Return True if the process is the selected one for extended stats."""
|
"""Return True if the process is the selected one for extended stats."""
|
||||||
return not self.args.programs and \
|
return hasattr(self.args, 'programs') and \
|
||||||
|
not self.args.programs and \
|
||||||
hasattr(self.args, 'enable_process_extended') and \
|
hasattr(self.args, 'enable_process_extended') and \
|
||||||
self.args.enable_process_extended and \
|
self.args.enable_process_extended and \
|
||||||
not self.disable_extended_tag and \
|
not self.disable_extended_tag and \
|
||||||
|
Loading…
Reference in New Issue
Block a user