Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Dec 19, 2024
1 parent c09b786 commit 4025afd
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 @@ -176,7 +176,7 @@ def sync_data(
fh_ldap_user_ops.write("-\n")
fh_ldap_user_ops.write("\n")

elif user_op.operation == "DISABLE":
elif user_op.operation == StateOperation.DISABLE:
console_err.log(f"disable user {user_op.user.dn}")
fh_ldap_user_ops.write(f"dn: {user_op.user.dn}\n")
fh_ldap_user_ops.write("changetype: modify\n")
Expand Down

0 comments on commit 4025afd

Please sign in to comment.