diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2016-12-31 20:02:15 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-01 12:02:05 -0500 |
commit | 2017d8578af20d2f82cefb3a91889a15105c06b2 (patch) | |
tree | f72c0140e1f700561a83445102bb2ef3783e6bd3 /run_project_tests.py | |
parent | f0b30baa39180a1047da362eb1411157228d18b7 (diff) | |
download | meson-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-x | run_project_tests.py | 4 |
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) |