From 0983ed29bb5545c7f1118448d41d7fd4fff3cba1 Mon Sep 17 00:00:00 2001 From: "lip.z" Date: Sat, 2 Aug 2014 20:18:06 +0800 Subject: [PATCH] fix Singleton.__call__ error fix Singleton.__call__ error --- mininet/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/log.py b/mininet/log.py index 09a664a..5f96569 100644 --- a/mininet/log.py +++ b/mininet/log.py @@ -69,7 +69,7 @@ class Singleton( type ): def __call__( cls, *args, **kw ): if cls.instance is None: cls.instance = super( Singleton, cls ).__call__( *args, **kw ) - return cls.instance + return cls.instance class MininetLogger( Logger, object ):