Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/7721#discussion_r35673754
--- Diff: dev/lint-python ---
@@ -58,21 +58,21 @@ export "PYTHONPATH=$SPARK_ROOT_DIR/dev/pylint"
export "PYLINT_HOME=$PYTHONPATH"
export "PATH=$PYTHONPATH:$PATH"
-# if [ ! -d "$PYLINT_HOME" ]; then
-# mkdir "$PYLINT_HOME"
-# # Redirect the annoying pylint installation output.
-# easy_install -d "$PYLINT_HOME" pylint==1.4.4 &>>
"$PYLINT_INSTALL_INFO"
-# easy_install_status="$?"
-#
-# if [ "$easy_install_status" -ne 0 ]; then
-# echo "Unable to install pylint locally in \"$PYTHONPATH\"."
-# cat "$PYLINT_INSTALL_INFO"
-# exit "$easy_install_status"
-# fi
-#
-# rm "$PYLINT_INSTALL_INFO"
-#
-# fi
+if [ ! -d "$PYLINT_HOME" ]; then
+ mkdir "$PYLINT_HOME"
+ # Redirect the annoying pylint installation output.
+ easy_install -d "$PYLINT_HOME" pylint==1.4.4 >> "$PYLINT_INSTALL_INFO"
2>&1
--- End diff --
Ah, I see. The problem is indeed the redirect. Why our PR builder was fine
with that PR? We did not check python style?
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]