Skip to content

Commit

Permalink
Tests: Fix CILogonIDs not being added to the contacts dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Dec 15, 2023
1 parent 4039405 commit c0949cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/verify_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def get_contacts():
def add_cilogon_ids(users, d):
""" add CILogonIDs to dict so they can be treated like ContactIDs """
for u in users:
cilogonid = u.find('CILogonID')
cilogonid = u.find('CILogonID').text
if cilogonid:
d[cilogonid] = u.find('FullName').text
return d
Expand Down

0 comments on commit c0949cf

Please sign in to comment.