From 1ac3ed2c271accc0776a3cc34fbe607acf62da17 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 7 Apr 2011 16:53:52 +0200 Subject: Fix lint false positives. --- ipapython/ipautil.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipapython') 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. -- cgit