Fix lint false positives.

This commit is contained in:
Jan Cholasta authored and Martin Kosek committed 2011-04-13 15:58:45 +02:00
1 parent fb329bc8b0
commit 1ac3ed2c27
12 files changed
+23 -15

No files matched your search

+1
View File
@@ -131,6 +131,7 @@ def run(args, stdin=None, raiseonerr=True,
p = subprocess.Popen(args, stdin=p_in, stdout=p_out, stderr=p_err,
close_fds=True, env=env)
stdout,stderr = p.communicate(stdin)
stdout,stderr = str(stdout), str(stderr) # Make pylint happy
# The command and its output may include passwords that we don't want
# to log. Run through the nolog items.