summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parentf0b30baa39180a1047da362eb1411157228d18b7 (diff)
downloadmeson-2017d8578af20d2f82cefb3a91889a15105c06b2.tar.gz
style: fix E226 violations
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cmake2meson.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index 7b28597cc..28222a58c 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -53,7 +53,7 @@ class Lexer:
for (tid, reg) in self.token_specification:
mo = reg.match(code, loc)
if mo:
- col = mo.start()-line_start
+ col = mo.start() - line_start
matched = True
loc = mo.end()
match_text = mo.group()
@@ -240,7 +240,7 @@ class Converter:
else:
line = '''# %s(%s)''' % (t.name, self.convert_args(t.args))
self.indent_level += preincrement
- indent = self.indent_level*self.indent_unit
+ indent = self.indent_level * self.indent_unit
outfile.write(indent)
outfile.write(line)
if not(line.endswith('\n')):