Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nurbal committed Apr 11, 2024
1 parent a95b9e7 commit 627f9d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sarc/ldap/acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,14 @@ def run(prompt=False):
# "drac_members": {...} or None
# }


# Load exceptions
exceptions = load_ldap_exceptions(cfg.ldap)

for _, user in DD_persons_matched.items():
if user["mila_ldap"]["mila_email_username"] in exceptions["delegations"]:
user["teacher_delegations"] = exceptions["delegations"][
user["mila_ldap"]["mila_email_username"]
]
]
fill_computed_fields(user)

# These associations can now be propagated to the database.
Expand Down

0 comments on commit 627f9d6

Please sign in to comment.