Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/h/a/Hanyuu-sama-HEAD/main.py   Hanyuu-sama(Download)
                self.debug("Listener isn't active, starting it")
                # There is no listener active, create one
                self.listener = listener.start()
            elif (not self.listener.active):
                # The listener died restart it
                self.debug("Listener isn't active anymore, restarting it")
                self.listener.shutdown()
                self.listener = listener.start()