diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2014-06-02 01:33:43 +0200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2014-10-14 06:44:06 +0200 |
| commit | bbaa739bbda4685fa5e38ea0d939496398e11ebf (patch) | |
| tree | 98667c3fdf178377e86a371014e2fc23cce354cb /python/samba/provision | |
| parent | bcf298e7eca07a8869d184ad44c01232a11ba9ea (diff) | |
| download | samba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.tar.gz samba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.tar.xz samba-bbaa739bbda4685fa5e38ea0d939496398e11ebf.zip | |
Remove remaining instance of pep8 E211 (too many spaces before operator).
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Change-Id: I9af3bf582bba8fc1094addb12cd0a5ce04406b5b
Diffstat (limited to 'python/samba/provision')
| -rw-r--r-- | python/samba/provision/backend.py | 4 |
1 files changed, 2 insertions, 2 deletions
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": |
