From a1c48de3590a808b9a55fe7f10230f4b9baa2d91 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 15 Mar 2017 18:00:40 +0100 Subject: [PATCH] fix pep8 --- dotdrop/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotdrop/utils.py b/dotdrop/utils.py index 34deaeb..e48e7bc 100644 --- a/dotdrop/utils.py +++ b/dotdrop/utils.py @@ -19,7 +19,8 @@ def run(cmd, log=False, raw=True): stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if raw: return p.stdout.readlines() - return ''.join([x.decode('utf-8', 'replace') for x in p.stdout.readlines()]) + lines = [x.decode('utf-8', 'replace') for x in p.stdout.readlines()] + return ''.join(lines) def diff(src, dst, log=False, raw=True):