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/c/r/critic-HEAD/src/background/servicemanager.py   critic(Download)
                    self.__output = None
                    if input_data:
                        self.write(json.dumps(input_data))
                    self.close()
 

src/c/r/critic-HEAD/src/background/branchtrackerhook.py   critic(Download)
            def __init__(self, client, branch_id, timeout, log_offset):
                super(BranchTrackerHook.WaitForUpdate, self).__init__(client.server, [sys.executable, sys.argv[0], "--wait-for-update"], stderr=STDOUT)
                self.client = client
                self.client.write("wait\n")
                self.write(json_encode({ "branch_id": branch_id, "timeout": timeout, "log_offset": log_offset }))