diff options
author | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2008-09-15 14:10:12 +0200 |
---|---|---|
committer | Aurelien Campeas <aurelien.campeas@logilab.fr> | 2008-09-15 14:10:12 +0200 |
commit | 354672703a63acfc0020f2d1ef65cbb650c619e9 (patch) | |
tree | d396d773eb5480d839455e595e95052343153809 /bin | |
parent | b6315fc09e2662ad9932904d9ea4dd3064398741 (diff) | |
download | pylint-354672703a63acfc0020f2d1ef65cbb650c619e9.tar.gz |
fix #5993 (epylint should work with python 2.3)
Diffstat (limited to 'bin')
-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) |