fix Singleton.__call__ error
fix Singleton.__call__ error
This commit is contained in:
+1
-1
@@ -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 ):
|
||||
|
||||
Reference in New Issue
Block a user