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 /tools/cmake2meson.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 'tools/cmake2meson.py')
-rwxr-xr-x | tools/cmake2meson.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 7b28597..28222a5 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')): |