Github user cclauss commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20838#discussion_r175000559
  
    --- Diff: dev/create-release/releaseutils.py ---
    @@ -49,6 +49,11 @@
         print("Install using 'sudo pip install unidecode'")
         sys.exit(-1)
     
    +try:
    +    raw_input          # Python 2
    --- End diff --
    
    “Where practical, apply the Python porting best practice: [Use feature 
detection instead of version 
detection](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).”


---

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

Reply via email to