From 6f592ba2f0093ea523cebee3103e1756b813c822 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Sun, 28 Jun 2015 19:38:57 +0200 Subject: [PATCH] pep8 fix --- .travis.yml | 1 + lib/config.py | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80e6603..a1526e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,5 @@ install: script: - pep8 --ignore=E501 update.py - pep8 --ignore=E501 test/test.py + - pep8 --ignore=E501 lib/config.py - py.test -vv test/test.py diff --git a/lib/config.py b/lib/config.py index a2e416b..6c1bc70 100644 --- a/lib/config.py +++ b/lib/config.py @@ -50,12 +50,10 @@ def run_cmake(command, build_path, default_build_path): """ topdir = os.getcwd() os.chdir(build_path) - p = subprocess.Popen( - command, - shell=True, - stdin=subprocess.PIPE, - stdout=subprocess.PIPE - ) + p = subprocess.Popen(command, + shell=True, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE) s = p.communicate()[0].decode('UTF-8') # print cmake output to screen print(s)