Skip to content

Commit aacc12d

Browse files
committed
1 parent 2b30c99 commit aacc12d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

glances/plugins/percpu/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def summarize_all_cpus_not_displayed(self, percpu_list, header, return_):
222222
return return_
223223

224224
def msg_curse(self, args=None, max_width=None):
225-
"""Return the dict to display in the curse interface."""
225+
"""Return the list of dict to display in the curse interface."""
226226

227227
# Init the return message
228228
return_ = []
@@ -250,6 +250,4 @@ def msg_curse(self, args=None, max_width=None):
250250
stats_added = self.display_cpu_stats_in_columns(cpu, header, header_added)
251251

252252
# Add a new line with sum of all others CPU
253-
return_ = self.summarize_all_cpus_not_displayed(percpu_list, header, stats_added)
254-
255-
return return_
253+
return self.summarize_all_cpus_not_displayed(percpu_list, header, stats_added)

0 commit comments

Comments
 (0)