summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAurelien Campeas <aurelien.campeas@logilab.fr>2008-09-15 14:10:12 +0200
committerAurelien Campeas <aurelien.campeas@logilab.fr>2008-09-15 14:10:12 +0200
commit354672703a63acfc0020f2d1ef65cbb650c619e9 (patch)
treed396d773eb5480d839455e595e95052343153809 /bin
parentb6315fc09e2662ad9932904d9ea4dd3064398741 (diff)
downloadpylint-354672703a63acfc0020f2d1ef65cbb650c619e9.tar.gz
fix #5993 (epylint should work with python 2.3)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/epylint5
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)