From bbaa739bbda4685fa5e38ea0d939496398e11ebf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 2 Jun 2014 01:33:43 +0200 Subject: Remove remaining instance of pep8 E211 (too many spaces before operator). Signed-Off-By: Jelmer Vernooij Reviewed-by: Andrew Bartlett Change-Id: I9af3bf582bba8fc1094addb12cd0a5ce04406b5b --- python/samba/provision/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/samba/provision') diff --git a/python/samba/provision/backend.py b/python/samba/provision/backend.py index dbea3ead83..cffdea7218 100644 --- a/python/samba/provision/backend.py +++ b/python/samba/provision/backend.py @@ -377,7 +377,7 @@ class OpenLDAPBackend(LDAPBackend): attrs = ["linkID", "lDAPDisplayName"] res = self.schema.ldb.search(expression="(&(objectclass=attributeSchema)(searchFlags:1.2.840.113556.1.4.803:=1))", base=self.names.schemadn, scope=SCOPE_ONELEVEL, attrs=attrs) index_config = "" - for i in range (0, len(res)): + for i in range(0, len(res)): index_attr = res[i]["lDAPDisplayName"][0] if index_attr == "objectGUID": index_attr = "entryUUID" @@ -736,7 +736,7 @@ class FDSBackend(LDAPBackend): attrs = ["lDAPDisplayName"] res = self.schema.ldb.search(expression="(&(objectclass=attributeSchema)(searchFlags:1.2.840.113556.1.4.803:=1))", base=self.names.schemadn, scope=SCOPE_ONELEVEL, attrs=attrs) - for i in range (0, len(res)): + for i in range(0, len(res)): attr = res[i]["lDAPDisplayName"][0] if attr == "objectGUID": -- cgit