1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

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
This commit is contained in:
Jelmer Vernooij
2014-06-02 01:33:43 +02:00
committed by Andrew Bartlett
parent bcf298e7ec
commit bbaa739bbd
6 changed files with 21 additions and 22 deletions

View File

@ -160,7 +160,7 @@ def get_linked_attributes(schemadn,schemaldb):
attrs = ["linkID", "lDAPDisplayName"]
res = schemaldb.search(expression="(&(linkID=*)(!(linkID:1.2.840.113556.1.4.803:=1))(objectclass=attributeSchema)(attributeSyntax=2.5.5.1))", base=schemadn, scope=SCOPE_ONELEVEL, attrs=attrs)
attributes = {}
for i in range (0, len(res)):
for i in range(0, len(res)):
expression = "(&(objectclass=attributeSchema)(linkID=%d)(attributeSyntax=2.5.5.1))" % (int(res[i]["linkID"][0])+1)
target = schemaldb.searchone(basedn=schemadn,
expression=expression,
@ -178,7 +178,7 @@ def get_dnsyntax_attributes(schemadn,schemaldb):
base=schemadn, scope=SCOPE_ONELEVEL,
attrs=["linkID", "lDAPDisplayName"])
attributes = []
for i in range (0, len(res)):
for i in range(0, len(res)):
attributes.append(str(res[i]["lDAPDisplayName"]))
return attributes