diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:16:12 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:27 +0200 |
commit | 5d532543abdcb605fd1432eeaa36135bdac8a884 (patch) | |
tree | 73d3b04134a841dfe157b150754b797cdb992781 /selftest | |
parent | bbb9f57603de490b39e5ad1b71e36f127291194b (diff) | |
download | samba-5d532543abdcb605fd1432eeaa36135bdac8a884.tar.gz |
PEP8: fix E128: continuation line under-indented for visual indent
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 'selftest')
-rw-r--r-- | selftest/subunithelper.py | 4 | ||||
-rw-r--r-- | selftest/tests.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index 48b6685256e..ab2342c9530 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -174,7 +174,7 @@ def parse_results(msg_ops, statistics, fh): exitcode = 1 else: raise AssertionError("Recognized but unhandled result %r" % - result) + result) elif command == "testsuite": msg_ops.start_testsuite(arg.strip()) elif command == "progress": @@ -515,7 +515,7 @@ class PerfFilterOps(unittest.TestResult): class PlainFormatter(TestsuiteEnabledTestResult): def __init__(self, verbose, immediate, statistics, - totaltests=None): + totaltests=None): super(PlainFormatter, self).__init__() self.verbose = verbose self.immediate = immediate diff --git a/selftest/tests.py b/selftest/tests.py index 8c9102968e3..1fe842aff05 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -32,8 +32,8 @@ f = open(config_h, 'r') try: lines = f.readlines() config_hash = dict((x[0], ' '.join(x[1:])) - for x in map(lambda line: line.strip().split(' ')[1:], - filter(lambda line: (line[0:7] == '#define') and (len(line.split(' ')) > 2), lines))) + for x in map(lambda line: line.strip().split(' ')[1:], + filter(lambda line: (line[0:7] == '#define') and (len(line.split(' ')) > 2), lines))) finally: f.close() |