Removed parsing.py and parse_filter function in GetNodes and GetSites.
[sfa.git] / sfa / senslab / slabslices.py
index 131b4a5..37d3ebc 100644 (file)
@@ -368,9 +368,9 @@ class SlabSlices:
             else: 
                
                 if isinstance(users,list):
-                   ldap_reslt = self.driver.ldap.ldapSearch(users[0])
+                   ldap_reslt = self.driver.ldap.LdapSearch(users[0])
                 else:
-                    ldap_reslt = self.driver.ldap.ldapSearch(users)
+                    ldap_reslt = self.driver.ldap.LdapSearch(users)
                 if ldap_result:
                     existing_users = ldap_reslt[0]
                     existing_user_hrns.append (users_dict[user['hrn']]['hrn'])