Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Dec 17, 2024
1 parent 270e1d6 commit 29142d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/cli/hpc_access_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def sync_data(
comparison = TargetStateComparison(settings.hpc_access, src_state, dst_state)
operations = comparison.run()
# console_err.print_json(data=operations.model_dump(mode="json"))
with open("ldap_user_disable.ldif", "w") as fh_disable, open("ldap_user_create.ldif", ) as fh_create, open("ldap_user_update.ldif", "w") as fh_update:
with open("ldap_user_disable.ldif", "w") as fh_disable, open("ldap_user_create.ldif", "w") as fh_create, open("ldap_user_update.ldif", "w") as fh_update:
for user_op in operations.ldap_user_ops:
data = user_op.model_dump(mode="json")
if data["operation"] == "CREATE":
Expand Down

0 comments on commit 29142d4

Please sign in to comment.