def rename(source, destination):
  """ Renames source file into destination.

  Args:
    source: A str, the path of the file to rename.
    destination: A str, the destination path.
  Returns:
    True on success, False otherwise.
  """
  try:
    os.rename(source, destination)
  except __HOLE__:
    logging.error("OSError while renaming '{0}' to '{1}'".
      format(source, destination))
    return False
  return True
dataset/ETHPy150Open AppScale/appscale/AppDB/backup/backup_recovery_helper.py/rename