fix Singleton.__call__ error

fix Singleton.__call__ error
This commit is contained in:
lip.z
2014-08-14 00:18:37 -07:00
committed by cody burkard
parent b0048c0aca
commit 7e9d3f2b50
+1 -1
View File
@@ -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 ):