def _own_pods_of_rc(pyk_client, rc, namespace, rc_path, verbose):
    """
    Owns all pods a certain RC manages by labeling them with `guard=pyk`.
    """
    if verbose: logging.info((PODS_UP_DELAY_IN_SEC, rc_path) %"Waiting %d sec before looking for pods of RC %s")
    sleep(PODS_UP_DELAY_IN_SEC)
    pods_list = _get_pods_of_rc(pyk_client, rc.json(), namespace)
    for pod in pods_list:
        logging.debug("Now trying to own %s" %(pod["metadata"]["selfLink"]))
        _own_resource(pyk_client, pod["metadata"]["selfLink"], verbose)
dataset/ETHPy150Open kubernauts/kploy/kploycommon.py/_own_pods_of_rc/swapped operands of `%`