diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:18:25 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:28 +0200 |
commit | 87bbc2df972d112870bb7d5c8839663affe62b21 (patch) | |
tree | 165519f190f9d8051c0f56406de925e8ed0c1cb4 /wintest/wintest.py | |
parent | 32266d2d48c1c38e54bcfaf1cad36f09e9cff355 (diff) | |
download | samba-87bbc2df972d112870bb7d5c8839663affe62b21.tar.gz |
PEP8: fix E226: missing whitespace around arithmetic operator
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'wintest/wintest.py')
-rw-r--r-- | wintest/wintest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py index 8eb4600a41c..1f385fc5929 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -81,7 +81,7 @@ class wintest(): if colon == -1: raise RuntimeError("Invalid config line '%s'" % line) varname = line[0:colon].strip() - value = line[colon+1:].strip() + value = line[colon + 1:].strip() self.setvar(varname, value) def list_steps_mode(self): @@ -127,7 +127,7 @@ class wintest(): var_end = text.find("}", var_start) if var_end == -1: return text - var_name = text[var_start+2:var_end] + var_name = text[var_start + 2:var_end] if not var_name in self.vars: raise RuntimeError("Unknown substitution variable ${%s}" % var_name) text = text.replace("${%s}" % var_name, self.vars[var_name]) |