You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/07/14 05:33:09 UTC

[GitHub] [spark] viirya commented on a change in pull request #25142: [SPARK-28378][Python] Remove usage of cgi.escape

viirya commented on a change in pull request #25142: [SPARK-28378][Python] Remove usage of cgi.escape
URL: https://github.com/apache/spark/pull/25142#discussion_r303228144
 
 

 ##########
 File path: python/pyspark/sql/dataframe.py
 ##########
 @@ -375,7 +375,12 @@ def _repr_html_(self):
         by 'spark.sql.repl.eagerEval.enabled', this only called by REPL you are
         using support eager evaluation with HTML.
         """
-        import cgi
+        try:
 
 Review comment:
   Thanks @JoshRosen @dongjoon-hyun for the advice! I will follow it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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