summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Duraffort <remi.duraffort@linaro.org>2014-10-15 07:16:40 (GMT)
committerNeil Williams <neil.williams@linaro.org>2014-10-20 16:49:37 (GMT)
commit528020ac30a7047227a39775b9608b5bee271fbc (patch)
tree5412cadf3d24b871248e3668b40d6ac6e54dea81
parent2bd8742c0ceccb403e2288f10c78cf502fc2d2aa (diff)
downloadlava-dispatcher-528020ac30a7047227a39775b9608b5bee271fbc.tar.gz
lava-dispatcher-528020ac30a7047227a39775b9608b5bee271fbc.tar.xz
Fix pep8 errors
Change-Id: Icc8b5abafd939f5980e764675d2349ea01c11cb9 (cherry picked from commit c19f001b8fc03d239082846d9082e797cdfa39dd)
-rw-r--r--lava_dispatcher/device/target.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lava_dispatcher/device/target.py b/lava_dispatcher/device/target.py
index 28c1f23..3366b74 100644
--- a/lava_dispatcher/device/target.py
+++ b/lava_dispatcher/device/target.py
@@ -917,14 +917,12 @@ class Target(object):
logging.debug("Creating tap interface: %s" % ifname)
self.context.run_command("ip tuntap add dev %s mode tap user lavaserver" % ifname)
self.context.run_command("ifconfig %s 0.0.0.0 promisc up" % ifname)
- self.context.run_command("brctl addif %s %s" % (bridge,ifname))
+ self.context.run_command("brctl addif %s %s" % (bridge, ifname))
self._bridge_configured = True
def _teardown_network_bridge(self, bridge, ifname):
logging.debug("Destroying tap interface: %s" % ifname)
- self.context.run_command("brctl delif %s %s" % (bridge,ifname))
+ self.context.run_command("brctl delif %s %s" % (bridge, ifname))
self.context.run_command("ifconfig %s down" % ifname)
self.context.run_command("ip tuntap del dev %s mode tap" % ifname)
self._bridge_configured = False
-
-