Skip to content

Commit

Permalink
Whitespace niceties
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhlin committed Dec 18, 2023
1 parent a9476d1 commit 086bf65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/webapp/ldap_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def get_cilogon_ldap_id_map(ldap_url, ldap_user, ldap_pass):
conn = ldap3.Connection(server, ldap_user, ldap_pass, receive_timeout=CILOGON_LDAP_TIMEOUT)
if not conn.bind():
return None # connection failure
conn.search(_cilogon_basedn, _ACTIVE_COPERSON_FILTER, search_scope=ldap3.LEVEL, attributes=['*'])
conn.search(_cilogon_basedn,
_ACTIVE_COPERSON_FILTER,
search_scope=ldap3.LEVEL,
attributes=['*'])
result_data = [ (e.entry_dn, e.entry_attributes_as_dict)
for e in conn.entries ]
conn.unbind()
Expand Down

0 comments on commit 086bf65

Please sign in to comment.