GitHub user giwa opened a pull request: https://github.com/apache/spark/pull/1422
follow pep8 None should be compared using is or is not http://legacy.python.org/dev/peps/pep-0008/ ## Programming Recommendations - Comparisons to singletons like None should always be done with is or is not, never the equality operators. You can merge this pull request into a Git repository by running: $ git pull https://github.com/giwa/spark apache_master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1422.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1422 ---- commit 7b361f3b75296e8d930abdf969d14a38a0fa7f77 Author: Ken Takagiwa <ken@kens-macbook-pro.local> Date: 2014-07-15T21:56:33Z follow pep8 None should be checked using is or is not ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---