Github user cclauss commented on the issue:

    https://github.com/apache/spark/pull/21702
  
    Tested data entry...
    In __./dev/merge_spark_pr.py__ just after __clean_up()__, I added the lines:
    ```
    while not continue_maybe('y to conntinue'):
        print('loop')
    sys.exit()
    ```
    Test: 'y' or 'Y' caused a loop while all others including "", "yes", "n", 
"N", "0", "1", "." caused an exit()
    Identical results on both Python 2 and Python 3
    ---
    In __./dev/create-release/releaseutils.py__ just after __yesOrNoPrompt()_ I 
added the lines:
    ```
    while not yesOrNoPrompt('y to quit'):
        print('got an 'n'')
    sys.exit()
    ```
    Test: 'y' caused an exit() while all others including "", "Y", "yes", "n", 
"N", "0", "1", "." caused a loop
    Identical results on both Python 2 and Python 3



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to