autopep8 fix for flake8
[bottlenecks.git] / testsuites / vstf / vstf_scripts / vstf / agent / perf / netmap.py
index 88a2544..bd9cc97 100644 (file)
@@ -18,6 +18,7 @@ LOG = logging.getLogger(__name__)
 
 
 class Netmap(object):
+
     def __init__(self):
         self._send_processes = []
         self._receive_processes = []
@@ -33,7 +34,10 @@ class Netmap(object):
         cmd = self.format_send_start(**kwargs)
         LOG.info("cmd:%s", cmd)
 
-        process = my_popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+        process = my_popen(
+            cmd.split(),
+            stdout=subprocess.PIPE,
+            stderr=subprocess.PIPE)
         self._send_processes.append(process)
         time.sleep(0.5)
 
@@ -89,7 +93,10 @@ class Netmap(object):
         cmd = self.format_receive_start(**kwargs)
         LOG.info("cmd:%s", cmd)
 
-        process = my_popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+        process = my_popen(
+            cmd.split(),
+            stdout=subprocess.PIPE,
+            stderr=subprocess.PIPE)
         self._receive_processes.append(process)
         time.sleep(0.5)
 
@@ -164,5 +171,8 @@ def unit_test():
 if __name__ == "__main__":
     from vstf.common.log import setup_logging
 
-    setup_logging(level=logging.DEBUG, log_file="/var/log/vstf/vstf-netmap.log", clevel=logging.INFO)
+    setup_logging(
+        level=logging.DEBUG,
+        log_file="/var/log/vstf/vstf-netmap.log",
+        clevel=logging.INFO)
     unit_test()