def __init__(self): web.application.__init__(self) self.__name__ = self self.app = None self.lock = threading.Lock()