From 5db05aad1301d38fd9524c8f0d949c50f0fc1020 Mon Sep 17 00:00:00 2001 From: Jeff Ahrenholz Date: Thu, 7 Nov 2019 08:57:46 -0800 Subject: [PATCH] fix black pre-commit errors (formatting) --- daemon/core/nodes/network.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/daemon/core/nodes/network.py b/daemon/core/nodes/network.py index 6d88d453..45f37c57 100644 --- a/daemon/core/nodes/network.py +++ b/daemon/core/nodes/network.py @@ -202,8 +202,12 @@ class EbtablesQueue: self.cmds.append(f"-F {wlan.brname}") else: wlan.has_ebtables_chain = True - self.cmds.extend([f"-N {wlan.brname} -P {wlan.policy}", - f"-A FORWARD --logical-in {wlan.brname} -j {wlan.brname}"]) + self.cmds.extend( + [ + f"-N {wlan.brname} -P {wlan.policy}", + f"-A FORWARD --logical-in {wlan.brname} -j {wlan.brname}", + ] + ) # rebuild the chain for netif1, v in wlan._linked.items(): for netif2, linked in v.items():