diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:17:44 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:27 +0200 |
commit | fb5ea356dd2dcf7651ff2b0fb861042ed828821c (patch) | |
tree | 38c388147cc5719a589d9b657d4f11d12316a90c /source3 | |
parent | d9c282a9a599c48bd4c772d80059a364e1d2d61b (diff) | |
download | samba-fb5ea356dd2dcf7651ff2b0fb861042ed828821c.tar.gz |
PEP8: fix E222: multiple spaces after 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 'source3')
-rwxr-xr-x | source3/script/tests/test_wbinfo_sids2xids_int.py | 4 | ||||
-rwxr-xr-x | source3/selftest/tests.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/tests/test_wbinfo_sids2xids_int.py b/source3/script/tests/test_wbinfo_sids2xids_int.py index 7ffc8ece2f7..a460d8abce6 100755 --- a/source3/script/tests/test_wbinfo_sids2xids_int.py +++ b/source3/script/tests/test_wbinfo_sids2xids_int.py @@ -39,7 +39,7 @@ sids=[domsid + '-512', 'S-1-5-32-545', domsid + '-513', 'S-1-1-0', 'S-1-3-1', 'S flush_cache(sids=sids) -sids2xids = subprocess.Popen([wbinfo, '--sids-to-unix-ids=' + ','.join(sids)], +sids2xids = subprocess.Popen([wbinfo, '--sids-to-unix-ids=' + ','.join(sids)], stdout=subprocess.PIPE).communicate()[0].strip() gids=[] @@ -87,7 +87,7 @@ def check_singular(sids, ids, idtype='gid'): # Check the list produced by the sids-to-xids call with the # multiple variant (sid-to-xid) for each sid in turn. def check_multiple(sids, idtypes): - sids2xids = subprocess.Popen([wbinfo, '--sids-to-unix-ids=' + ','.join(sids)], + sids2xids = subprocess.Popen([wbinfo, '--sids-to-unix-ids=' + ','.join(sids)], stdout=subprocess.PIPE).communicate()[0].strip() # print sids2xids i = 0 diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index e5b3fd6f33b..393b0d9f60a 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -461,7 +461,7 @@ for t in tests: elif t == "raw.chkpath": plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "ad_dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD') - elif t == "raw.samba3hide" or t == "raw.samba3checkfsp" or t == "raw.samba3closeerr": + elif t == "raw.samba3hide" or t == "raw.samba3checkfsp" or t == "raw.samba3closeerr": plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "simpleserver", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD') |