summaryrefslogtreecommitdiff
path: root/epylint.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2013-06-19 13:58:46 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2013-06-19 13:58:46 +0200
commitac825be27c0902e1d05e97ae3d31c4550cf69289 (patch)
tree6c6258b64af8c5d8e0386895893e649bd72a1a2f /epylint.py
parent6902390acae302a213d1be2b9dc567f755470e5b (diff)
downloadpylint-git-ac825be27c0902e1d05e97ae3d31c4550cf69289.tar.gz
don't pipe stderr, we don't read it and it may hang epylint. Closes issue #15
Diffstat (limited to 'epylint.py')
-rwxr-xr-xepylint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/epylint.py b/epylint.py
index db2ed82f1..f94198547 100755
--- a/epylint.py
+++ b/epylint.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8; mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=python:et:sw=4:ts=4:sts=4
-# Copyright (c) 2003-2012 LOGILAB S.A. (Paris, FRANCE).
+# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This program is free software; you can redistribute it and/or modify it under
@@ -76,7 +76,7 @@ def lint(filename):
lintPath = os.path.join(os.path.dirname(__file__), 'lint.py')
cmd = [sys.executable, lintPath, '-f', 'parseable', '-r', 'n',
'--disable=C,R,I', childPath]
- process = Popen(cmd, stdout=PIPE, stderr=PIPE, cwd=parentPath)
+ process = Popen(cmd, stdout=PIPE, cwd=parentPath)
# The parseable line format is '%(path)s:%(line)s: [%(sigle)s%(obj)s] %(msg)s'
# NOTE: This would be cleaner if we added an Emacs reporter to pylint.reporters.text ..