Fixed wrong behavior in method search_s in BaseLdap class.
Variable 'py_result' can be not initialized if self.page_size > 0 because it's initialized only in the 'else' block. Closes bug 1305056 Change-Id: Ib9cfb2c03279d97ec0c1a4f8cb45fe5b568b9d7a
This commit is contained in:
parent
dc43f94d71
commit
a9d4e59e86
|
@ -515,7 +515,7 @@ class KeystoneLDAPHandler(LDAPHandler):
|
|||
filterstr_utf8,
|
||||
attrlist_utf8, attrsonly)
|
||||
|
||||
py_result = convert_ldap_result(ldap_result)
|
||||
py_result = convert_ldap_result(ldap_result)
|
||||
|
||||
return py_result
|
||||
|
||||
|
|
Loading…
Reference in New Issue