Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/1505#discussion_r15197548
--- Diff: python/pyspark/shell.py ---
@@ -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)
--- End diff --
It's better break this line before "if"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---