spark git commit: [SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util
Repository: spark Updated Branches: refs/heads/branch-2.1 a3b675137 -> ef4fb7ebc [SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util ## What changes were proposed in this pull request? Add missing `warnings` import. ## How was this patch tested? Manual tests. Author: zero323 Closes #16846 from zero323/SPARK-19506. (cherry picked from commit 5e7cd3322b04f1dd207829b70546bc7ffdd63363) Signed-off-by: Holden Karau Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ef4fb7eb Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ef4fb7eb Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ef4fb7eb Branch: refs/heads/branch-2.1 Commit: ef4fb7ebca963eb95d6a8bf7543e05aa375edc23 Parents: a3b6751 Author: zero323 Authored: Mon Feb 13 09:26:49 2017 -0800 Committer: Holden Karau Committed: Mon Feb 13 09:36:52 2017 -0800 -- python/pyspark/ml/util.py | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/spark/blob/ef4fb7eb/python/pyspark/ml/util.py -- diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py index c65b3d1..02016f1 100644 --- a/python/pyspark/ml/util.py +++ b/python/pyspark/ml/util.py @@ -17,6 +17,7 @@ import sys import uuid +import warnings if sys.version > '3': basestring = str - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: [SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util
Repository: spark Updated Branches: refs/heads/master 4321ff9ed -> 5e7cd3322 [SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util ## What changes were proposed in this pull request? Add missing `warnings` import. ## How was this patch tested? Manual tests. Author: zero323 Closes #16846 from zero323/SPARK-19506. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5e7cd332 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5e7cd332 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5e7cd332 Branch: refs/heads/master Commit: 5e7cd3322b04f1dd207829b70546bc7ffdd63363 Parents: 4321ff9 Author: zero323 Authored: Mon Feb 13 09:26:49 2017 -0800 Committer: Holden Karau Committed: Mon Feb 13 09:26:49 2017 -0800 -- python/pyspark/ml/util.py | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/spark/blob/5e7cd332/python/pyspark/ml/util.py -- diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py index c65b3d1..02016f1 100644 --- a/python/pyspark/ml/util.py +++ b/python/pyspark/ml/util.py @@ -17,6 +17,7 @@ import sys import uuid +import warnings if sys.version > '3': basestring = str - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org