summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Utils.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-07-31 13:05:29 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-07-31 13:05:29 -0500
commit04c8ed7554f711c718b1952ea5ea83eac99c85bc (patch)
tree39d5fc649350639ab0005c1261ceb4757d5d1496 /src/lib/Bcfg2/Utils.py
parent88e2f9e68f104ea3797f7a0ffaeab7171a2eb221 (diff)
downloadbcfg2-04c8ed7554f711c718b1952ea5ea83eac99c85bc.tar.gz
bcfg2-04c8ed7554f711c718b1952ea5ea83eac99c85bc.tar.bz2
bcfg2-04c8ed7554f711c718b1952ea5ea83eac99c85bc.zip
Utils: Silence bogus pylint errors
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Utils.py')
-rw-r--r--src/lib/Bcfg2/Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Utils.py b/src/lib/Bcfg2/Utils.py
index 4293f3f69..ab1276178 100644
--- a/src/lib/Bcfg2/Utils.py
+++ b/src/lib/Bcfg2/Utils.py
@@ -244,9 +244,9 @@ class Executor(object):
# py3k fixes
if not isinstance(stdout, str):
- stdout = stdout.decode('utf-8')
+ stdout = stdout.decode('utf-8') # pylint: disable=E1103
if not isinstance(stderr, str):
- stderr = stderr.decode('utf-8')
+ stderr = stderr.decode('utf-8') # pylint: disable=E1103
for line in stdout.splitlines(): # pylint: disable=E1103
self.logger.debug('< %s' % line)