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
commitb7e5fe39f43cd07a9439f12b85e996202cfd8c35 (patch)
tree2e632f3a98267c0aea1002260e4c6603b86de5da /epylint.py
parent2ceab9e47e77ffd2cf5284877abcbb9d66048b9e (diff)
downloadpylint-b7e5fe39f43cd07a9439f12b85e996202cfd8c35.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 db2ed82..f941985 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 ..