Skip to content

Commit

Permalink
[SPARK-2470] PEP8 fixes to shell.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nchammas committed Jul 20, 2014
1 parent 95d1d95 commit 1916859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyspark/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
from pyspark.storagelevel import StorageLevel

# this is the equivalent of ADD_JARS
add_files = os.environ.get("ADD_FILES").split(',') if os.environ.get("ADD_FILES") is not None else None
add_files = (
os.environ.get("ADD_FILES").split(',') if os.environ.get("ADD_FILES") is not None else None)

if os.environ.get("SPARK_EXECUTOR_URI"):
SparkContext.setSystemProperty("spark.executor.uri", os.environ["SPARK_EXECUTOR_URI"])
Expand Down

0 comments on commit 1916859

Please sign in to comment.