summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2011-04-07 16:53:52 +0200
committerMartin Kosek <mkosek@redhat.com>2011-04-13 15:58:45 +0200
commit1ac3ed2c271accc0776a3cc34fbe607acf62da17 (patch)
treebf1be818d135e75556e2b6864cb77e663bf9369d /ipapython
parentfb329bc8b0dcde54b113fd0cc4b03ab9c11febd0 (diff)
downloadfreeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.gz
freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.xz
freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.zip
Fix lint false positives.
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/ipautil.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py
index 85db920e0..81719ccae 100644
--- a/ipapython/ipautil.py
+++ b/ipapython/ipautil.py
@@ -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.