def update_latest_symlink(outdir, latest_symlink):
  if os.path.lexists(latest_symlink):
    try:
      os.remove(latest_symlink)
    except OSError as err:
      return err
  try:
    os.symlink(os.path.basename(auto_outdir), latest_symlink)
  except OSError as err:
    return err
  return None
initial_key:
dataset/ETHPy150Open m-lab/operator/tools/fetch.py/update_latest_symlink--crossover with--dataset/ETHPy150Open richardkiss/pycoin/pycoin/key/electrum.py/initial_key_to_master_key