Skip to content

Commit 1916859

Browse files
committed
[SPARK-2470] PEP8 fixes to shell.py
1 parent 95d1d95 commit 1916859

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/pyspark/shell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
from pyspark.storagelevel import StorageLevel
3636

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

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

0 commit comments

Comments
 (0)