Style: fix pylint/pep8 style issues
authorAntoine Busque <antoinebusque@gmail.com>
Tue, 14 Apr 2015 20:54:28 +0000 (16:54 -0400)
committerAntoine Busque <antoinebusque@gmail.com>
Tue, 14 Apr 2015 20:54:28 +0000 (16:54 -0400)
lttnganalysescli/lttnganalysescli/io.py

index 198470a48a02678be36f6841fdd826908489c005..6d024859d28e4cc3f0fd680042710004bd90969e 100644 (file)
@@ -124,7 +124,7 @@ class IoAnalysisCommand(Command):
         return True
 
     def _filter_time_range(self, begin, end):
-        return not (self._arg_begin and self._arg_end and end and \
+        return not (self._arg_begin and self._arg_end and end and
                     begin > self._arg_end)
 
     def _filter_io_request(self, io_rq):
@@ -277,11 +277,11 @@ class IoAnalysisCommand(Command):
 
     def _get_net_recv_bytes_datum(self, iface):
         return ('%s %s' % (common.convert_size(iface.recv_bytes), iface.name),
-                       iface.recv_bytes)
+                iface.recv_bytes)
 
     def _get_net_sent_bytes_datum(self, iface):
         return ('%s %s' % (common.convert_size(iface.sent_bytes), iface.name),
-                       iface.sent_bytes)
+                iface.sent_bytes)
 
     def _get_file_read_datum(self, file_stats):
         if file_stats.read == 0:
@@ -630,7 +630,6 @@ class IoAnalysisCommand(Command):
         self._output_latency_stats_from_requests(
             self._analysis.sync_io_requests, 'Sync')
 
-
     def _output_disk_latency_stats(self):
         if not self._analysis.disks:
             return
This page took 0.026826 seconds and 5 git commands to generate.