From 4ac45a3967f577d203dee6edc05b4e731b4d2b70 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 4 Feb 2015 04:43:23 -0800 Subject: [PATCH] Fix super() arg in DataController --- examples/controlnet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/controlnet.py b/examples/controlnet.py index 50f989c..9633089 100755 --- a/examples/controlnet.py +++ b/examples/controlnet.py @@ -28,7 +28,7 @@ from mininet.log import setLogLevel, info class DataController( Controller ): """Data Network Controller. patched to avoid checkListening error and to delete intfs""" - + def checkListening( self ): "Ignore spurious error" pass @@ -36,7 +36,8 @@ class DataController( Controller ): def stop( self, *args, **kwargs ): "Make sure intfs are deleted" kwargs.update( deleteIntfs=True ) - super( Controller, self ).stop( *args, **kwargs ) + super( DataController, self ).stop( *args, **kwargs ) + class MininetFacade( object ): """Mininet object facade that allows a single CLI to