Remove remaining instance of pep8 E211 (too many spaces before operator).
[obnox/samba/samba-obnox.git] / python / samba / provision / backend.py
index dbea3ead83fe0462554ded180a9884d21395f871..cffdea7218ed7652095b63ac1c00192ea1833c0d 100644 (file)
@@ -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":