mirror of
https://github.com/samba-team/samba.git
synced 2025-10-01 05:44:19 +03:00
python/samba/provision: PY3 PY3 port samba4.blackbox.provision-backend
Enclose filter with list as filter object has no 'len' method Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
cf38a067e8
commit
c11e90a123
@@ -403,7 +403,7 @@ class OpenLDAPBackend(LDAPBackend):
|
||||
# For now, make these equal
|
||||
mmr_pass = self.ldapadminpass
|
||||
|
||||
url_list = filter(None, self.ol_mmr_urls.split(','))
|
||||
url_list = list(filter(None, self.ol_mmr_urls.split(',')))
|
||||
for url in url_list:
|
||||
self.logger.info("Using LDAP-URL: " + url)
|
||||
if len(url_list) == 1:
|
||||
|
Reference in New Issue
Block a user