aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-31 20:02:15 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-01 12:02:05 -0500
commit2017d8578af20d2f82cefb3a91889a15105c06b2 (patch)
treef72c0140e1f700561a83445102bb2ef3783e6bd3 /run_project_tests.py
parentf0b30baa39180a1047da362eb1411157228d18b7 (diff)
downloadmeson-2017d8578af20d2f82cefb3a91889a15105c06b2.zip
meson-2017d8578af20d2f82cefb3a91889a15105c06b2.tar.gz
meson-2017d8578af20d2f82cefb3a91889a15105c06b2.tar.bz2
style: fix E226 violations
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 6e2cb45..a11847b 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -59,7 +59,7 @@ class AutoDeletedDir():
shutil.rmtree(self.dir)
return
except OSError:
- if i == retries-1:
+ if i == retries - 1:
raise
time.sleep(0.1 * (2**i))
@@ -472,7 +472,7 @@ def check_format():
def pbcompile(compiler, source, objectfile):
if compiler == 'cl':
- cmd = [compiler, '/nologo', '/Fo'+objectfile, '/c', source]
+ cmd = [compiler, '/nologo', '/Fo' + objectfile, '/c', source]
else:
cmd = [compiler, '-c', source, '-o', objectfile]
subprocess.check_call(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)