def RetryWithBackoff(initial_delay, backoff_factor, max_tries, callable_func):
  delay = initial_delay
  while not callable_func() and max_tries > 0:
    StatusUpdate('Will check again in %s seconds.' % delay)
    time.sleep(delay)
    delay *= backoff_factor
    max_tries -= 1
  return max_tries > 0
Return a list of all descendant PIDs for the given PID.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/RetryWithBackoff--crossover with--dataset/ETHPy150Open Yelp/dumb-init/tests/lib/testing.py/pid_tree