mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 07:58:04 +00:00
fix #5993 (epylint should work with python 2.3)
This commit is contained in:
parent
dc838fed64
commit
f3103ef45d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user