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 | f3103ef45d930b6a2c0df7e77bc39720a5e437e2 (patch) | |
tree | 776d399c3b915aacd378074dfd3ac62a4a02c393 /bin | |
parent | dc838fed64f87c8981cf986def3ed594015d4fcb (diff) | |
download | pylint-git-f3103ef45d930b6a2c0df7e77bc39720a5e437e2.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 b437e8acb..d0f23bbf3 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) |