diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2008-09-15 14:25:33 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2008-09-15 14:25:33 +0200 |
commit | 2e0f05ac08b80a8f52fa0808da891e48eccfaa15 (patch) | |
tree | 43d989d796112db76b8e83bdbd93ff96bc3f1a57 | |
parent | 59019ba6791e05724850c9019bf05b9050ceb350 (diff) | |
parent | 354672703a63acfc0020f2d1ef65cbb650c619e9 (diff) | |
download | pylint-2e0f05ac08b80a8f52fa0808da891e48eccfaa15.tar.gz |
-rwxr-xr-x | bin/epylint | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/epylint b/bin/epylint index b437e8a..d0f23bb 100755 --- a/bin/epylint +++ b/bin/epylint @@ -3,10 +3,9 @@ import re import sys -from subprocess import * +from popen2 import popen3 -p = Popen("pylint -f parseable -r n --disable-msg-cat=C,R %s" % - sys.argv[1], shell = True, stdout = PIPE).stdout +p, _in, _err = popen3("pylint -f parseable -r n --disable-msg-cat=C,R %s" % sys.argv[1]) for line in p: match = re.search("\\[([WE])(, (.+?))?\\]", line) |