toree-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mariusvniek...@apache.org
Subject [10/15] incubator-toree git commit: Fixed typo
Date Mon, 07 Nov 2016 14:29:33 GMT
Fixed typo


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree/commit/77565fbe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree/tree/77565fbe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree/diff/77565fbe

Branch: refs/heads/master
Commit: 77565fbe3f95a60d538c733793c590175935fe9e
Parents: 2d3cea4
Author: Marius van Niekerk <marius.vanniekerk@maxpoint.com>
Authored: Thu Oct 20 18:14:09 2016 -0400
Committer: Marius van Niekerk <marius.vanniekerk@maxpoint.com>
Committed: Thu Oct 20 18:14:09 2016 -0400

----------------------------------------------------------------------
 .../toree/kernel/interpreter/pyspark/PySparkInterpreter.scala      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/77565fbe/pyspark-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/pyspark/PySparkInterpreter.scala
----------------------------------------------------------------------
diff --git a/pyspark-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/pyspark/PySparkInterpreter.scala
b/pyspark-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/pyspark/PySparkInterpreter.scala
index 6e05975..a76e1d0 100644
--- a/pyspark-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/pyspark/PySparkInterpreter.scala
+++ b/pyspark-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/pyspark/PySparkInterpreter.scala
@@ -155,7 +155,7 @@ class PySparkInterpreter(
   override def doQuietly[T](body: => T): T = ???
 
   override def languageInfo: LanguageInfo = {
-    if (!pySparkService.isRunning) or (!pySparkState.isReady) {
+    if ((!pySparkService.isRunning) || (!pySparkState.isReady)) {
       LanguageInfo(
         "python",
         version = "UNKNOWN",


Mime
View raw message