def _create_symlinks():
  for from_path, to_path in COMPILE_COMMON['static_dir']:
    src_path = os.path.join(kay.PROJECT_DIR, from_path)
    dest_path = make_output_path_(COMPILE_COMMON, to_path)
    print_status((from_path, dest_path[len(kay.PROJECT_DIR):]) % ' %s => %s')

    dest_dir = os.path.dirname(dest_path)
    if dest_dir and not os.path.exists(dest_dir):
      os.makedirs(dest_dir)
    if not os.path.lexists(dest_path):
      os.symlink(os.path.abspath(from_path), dest_path)

#--------------------------------------------------------------
dataset/ETHPy150Open IanLewis/kay/kay/ext/media_compressor/media_compiler.py/_create_symlinks/swapped operands of `%`