Skip to content
Snippets Groups Projects
Commit 0983ed29 authored by lip.z's avatar lip.z
Browse files

fix Singleton.__call__ error

fix Singleton.__call__ error
parent f67a7b64
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ def __init__( cls, name, bases, dict_ ):
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 ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment