aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap
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 /mesonbuild/wrap
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 'mesonbuild/wrap')
-rw-r--r--mesonbuild/wrap/wrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index 3db3f9b..d25769a 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/mesonbuild/wrap/wrap.py
@@ -181,7 +181,7 @@ class Resolver:
cwd=checkoutdir)
def get_data(self, url):
- blocksize = 10*1024
+ blocksize = 10 * 1024
if url.startswith('https://wrapdb.mesonbuild.com'):
resp = open_wrapdburl(url)
else:
@@ -206,7 +206,7 @@ class Resolver:
break
downloaded += len(block)
blocks.append(block)
- ratio = int(downloaded/dlsize * 10)
+ ratio = int(downloaded / dlsize * 10)
while printed_dots < ratio:
print('.', end='')
sys.stdout.flush()