from ..config.ldap import LdapConfiguration
from ..xlate import XLATOR
-__version__ = '0.3.5'
+__version__ = '0.3.6'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
The collected DNs are added to self.all_check_dns.
"""
- ldap_filter = '(|' + ''.join(
- map(lambda x: '({}=*)'.format(x), self.check_attributes)) + ')'
+ ldap_filter = '(|' + ''.join((('({}=*)'.format(x)) for x in self.check_attributes)) + ')'
for dn in self.get_all_entry_dns(self.instance, ldap_filter=ldap_filter):
self.all_check_dns.add(dn)