Skip to content
Snippets Groups Projects
Commit 7e9d3f2b authored by lip.z's avatar lip.z Committed by cody burkard
Browse files

fix Singleton.__call__ error

fix Singleton.__call__ error
parent b0048c0a
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