]> khamidou — GitHub mirrors - arcanist.git/commit
Improve error if python can't run pep8
authorNick Harper <nharper@fb.com>
Tue, 19 Mar 2013 18:44:49 +0000 (11:44 -0700)
committerNick Harper <nharper@fb.com>
Tue, 19 Mar 2013 18:44:49 +0000 (11:44 -0700)
commit30e12a0c9a2ea1a57a8ba8bcee8c951125c9f091
treec1d6e93a41499dc02cb34c0b3792669c8644ea7a
parent337f7f83ea947ad72dae37e8f3768ee97f7bba35
Improve error if python can't run pep8

Summary:
On systems with an ancient version of python, the pep8 linter won't run.
Instead of blowing up in the user's face, we should display a nice error
message.

Test Plan:
Put /usr/bin (where the ancient version of python is) at the beginning of
my path and tried to lint some python. I got a nice error instead of a
stack trace.

Reviewers: epriestley, wez

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5356
src/lint/linter/ArcanistPEP8Linter.php