Style: fix minor pep8 style issues
authorAntoine Busque <abusque@efficios.com>
Thu, 10 Mar 2016 18:07:16 +0000 (13:07 -0500)
committerAntoine Busque <abusque@efficios.com>
Thu, 10 Mar 2016 18:07:16 +0000 (13:07 -0500)
Signed-off-by: Antoine Busque <abusque@efficios.com>
lttnganalyses/cli/termgraph.py
lttnganalyses/core/cputop.py

index 493c29af0d9da407060144f74eddd3eb9fb3463b..26e6dbe279118c5611084129637e8b7fb94f59b8 100644 (file)
@@ -29,6 +29,7 @@ FreqGraphDatum = namedtuple(
     'FreqGraphDatum', ['value', 'value_str', 'lower_bound']
 )
 
+
 class Graph():
     MAX_GRAPH_WIDTH = 80
     BAR_CHAR = '█'
@@ -128,8 +129,9 @@ class BarGraph(Graph):
             return self._title
 
         title_len = len(self._title)
-        space_width = (self.MAX_GRAPH_WIDTH - title_len) + \
-                      1 + self._max_value_len + 1
+        space_width = (
+            self.MAX_GRAPH_WIDTH - title_len + 1 + self._max_value_len + 1
+        )
 
         return self._title + ' ' * space_width + self._label_header
 
index 05ce7d2fda530574c17d54fde45d757313ff4142..01749c5ba0aad7ece8b29fc29ce0bd05ddcdde05 100644 (file)
@@ -138,7 +138,6 @@ class Cputop(Analysis):
         next_proc = self.tids[next_tid]
         next_proc.last_sched_ts = timestamp
 
-
     def _process_sched_migrate_task(self, **kwargs):
         cpu_id = kwargs['cpu_id']
         proc = kwargs['proc']
This page took 0.024267 seconds and 5 git commands to generate.