Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
add more verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheenoh committed May 3, 2024
1 parent 457fab0 commit 57e784a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manage-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def remove_ghidra_users(current_users,yaml_users,dry_run):
print(ghidra_user, "isn't in the source control list anymore. Removing...",end='')

if not dry_run:
remove_user(ghidra_user)
# Commenting this out for now
# remove_user(ghidra_user)
print("Done.")
else:
print("Dry run mode. Skipping.")
Expand Down Expand Up @@ -266,6 +267,7 @@ def manage_users(dry_run=False):

if dry_run:
if rm_users > 0 or update_users > 0:
print("Users are being updated or deleted. Failing automerge check!")
sys.exit(1)
elif add_users["num_users"] > 0:
for permission in add_users["permissions"]:
Expand Down

0 comments on commit 57e784a

Please sign in to comment.