def continue_maybe()

in dev/merge_spark_pr.py [0:0]


def continue_maybe(prompt, cherry=False):
    result = bold_input("%s (y/N): " % prompt)
    if result.lower() != "y":
        if cherry:
            try:
                run_cmd("git cherry-pick --abort")
            except Exception:
                print_error("Unable to abort and get back to the state before cherry-pick")
        fail("Okay, exiting")