def __init__(self): if SocialNetworkMsgHandler.__single: raise RuntimeError, 'SocialNetworkMsgHandler is singleton' SocialNetworkMsgHandler.__single = self self.overlap = OverlapMsgHandler()