diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:22:52 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:31 +0200 |
commit | aa243d1a7f64c474265b7f735601139ab9ff7b92 (patch) | |
tree | 15917c781ac1399653fb71161182e558e5f2abff /source4/dsdb | |
parent | 9f5bbcc10a82f409f41cce5685458332674e2010 (diff) | |
download | samba-aa243d1a7f64c474265b7f735601139ab9ff7b92.tar.gz |
PEP8: fix W291: trailing whitespace
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 'source4/dsdb')
-rwxr-xr-x | source4/dsdb/tests/python/acl.py | 2 | ||||
-rwxr-xr-x | source4/dsdb/tests/python/urgent_replication.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/tests/python/acl.py b/source4/dsdb/tests/python/acl.py index aaa7995be97..48bdd2aece2 100755 --- a/source4/dsdb/tests/python/acl.py +++ b/source4/dsdb/tests/python/acl.py @@ -833,7 +833,7 @@ class AclSearchTests(AclTests): self.ldb_admin.create_ou("OU=ou4,OU=ou2,OU=ou1," + self.base_dn) self.ldb_admin.create_ou("OU=ou5,OU=ou3,OU=ou2,OU=ou1," + self.base_dn) self.ldb_admin.create_ou("OU=ou6,OU=ou4,OU=ou2,OU=ou1," + self.base_dn) - mod = "(D;;LC;;;%s)(D;;LC;;;%s)" % (str(self.user_sid), str(self.group_sid)) + mod = "(D;;LC;;;%s)(D;;LC;;;%s)" % (str(self.user_sid), str(self.group_sid)) self.sd_utils.dacl_add_ace("OU=ou2,OU=ou1," + self.base_dn, mod) res = self.ldb_user3.search("OU=ou1," + self.base_dn, expression="(objectClass=*)", scope=SCOPE_SUBTREE) diff --git a/source4/dsdb/tests/python/urgent_replication.py b/source4/dsdb/tests/python/urgent_replication.py index de412c6130b..f8ea3353ca0 100755 --- a/source4/dsdb/tests/python/urgent_replication.py +++ b/source4/dsdb/tests/python/urgent_replication.py @@ -210,7 +210,7 @@ defaultHidingValue: TRUE""") except LdbError: print("Not testing urgent replication when creating classSchema object ...\n") - # urgent replication should be enabled when modifying + # urgent replication should be enabled when modifying m = Message() m.dn = Dn(self.ldb, "CN=test classSchema,CN=Schema,CN=Configuration," + self.base_dn) m["lDAPDisplayName"] = MessageElement("updatedTestClassSchema", FLAG_MOD_REPLACE, @@ -273,7 +273,7 @@ rIDAvailablePool: 133001-1073741823""", ["relax:0"]) res = self.ldb.load_partition_usn(self.base_dn) self.assertEquals(res["uSNHighest"], res["uSNUrgent"]) - # urgent replication should NOT be enabled when deleting + # urgent replication should NOT be enabled when deleting self.delete_force(self.ldb, "CN=RID Manager test,CN=System," + self.base_dn) res = self.ldb.load_partition_usn(self.base_dn) self.assertNotEquals(res["uSNHighest"], res["uSNUrgent"]) |