From b93cc989f4221f246b715a15c3f3dca3bf954ff0 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Sun, 18 Jan 2015 23:35:12 -0800 Subject: [PATCH] Pass code check --- mininet/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mininet/node.py b/mininet/node.py index 4f17f20..f263ad0 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1164,6 +1164,7 @@ class OVSSwitch( Switch ): '-- set Interface %s options:peer=%s ' % ( intf, intf, peer ) ) + # pylint: disable=too-many-branches def start( self, controllers ): "Start up a new OVS OpenFlow switch using ovs-vsctl" if self.inNamespace: @@ -1223,6 +1224,7 @@ class OVSSwitch( Switch ): # If necessary, restore TC config overwritten by OVS for intf in self.intfList(): self.TCReapply( intf ) + # pylint: enable=too-many-branches def stop( self, deleteIntfs=True ): """Terminate OVS switch.