def _write_locks(self):
    '\n        Write racefile and ADCC Startup Report\n\n        '
    dotadcc = get_adcc_dir()
    vals = {'http_port': self.http_port, 'pid': os.getpid()}
    rfile = os.path.join(dotadcc, self.racefile)
    with open(rfile, 'w') as ports:
        ports.write(repr(vals))
    sr = os.path.join(dotadcc, self.sreport)
    write_adcc_sr(sr, vals)
    return
Write racefile and ADCC Startup Report
def _write_locks(self):
    '\n        \n\n        '
    dotadcc = get_adcc_dir()
    vals = {'http_port': self.http_port, 'pid': os.getpid()}
    rfile = os.path.join(dotadcc, self.racefile)
    with open(rfile, 'w') as ports:
        ports.write(repr(vals))
    sr = os.path.join(dotadcc, self.sreport)
    write_adcc_sr(sr, vals)
    return