Commits

Anonymous committed 475e397 Merge

merge

  • Participants
  • Parent commits 96493b1, 449ae87
  • Tags pylint-version-0_15_1

Comments (0)

Files changed (1)

 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)