summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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)